externs.js revision f8ee788a64d60abd8f2d742a5fdedde054ecd910
1// Copyright 2014 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5/**
6 * @param {string} url
7 * @constructor
8 */
9function Audio(url) {}
10Audio.prototype.play;
11Audio.prototype.pause;
12Audio.prototype.autoplay;
13
14/**
15 * @type {Object}
16 */
17chrome.brailleDisplayPrivate = {};
18
19/**
20 * @param {function(!{available: boolean, textCellCount: (number|undefined)})}
21 *        callback
22 */
23chrome.brailleDisplayPrivate.getDisplayState = function(callback) {};
24
25/**
26 * @type {ChromeEvent}
27 */
28chrome.brailleDisplayPrivate.onDisplayStateChanged;
29
30/**
31 * @type {ChromeEvent}
32 */
33chrome.brailleDisplayPrivate.onKeyEvent;
34
35/**
36 * @param {ArrayBuffer} cells
37 */
38chrome.brailleDisplayPrivate.writeDots = function(cells) {};
39