OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Common external variables when compiling ChromeVox background code | 5 // Common external variables when compiling ChromeVox background code |
6 | 6 |
7 var localStorage = {}; | 7 var localStorage = {}; |
8 | 8 |
9 /** | 9 /** |
10 * @type {Object} | 10 * @type {Object} |
(...skipping 29 matching lines...) Expand all Loading... |
40 chrome.accessibilityPrivate.setAccessibilityEnabled = function(on) {}; | 40 chrome.accessibilityPrivate.setAccessibilityEnabled = function(on) {}; |
41 | 41 |
42 /** | 42 /** |
43 * @param {boolean} on | 43 * @param {boolean} on |
44 */ | 44 */ |
45 chrome.accessibilityPrivate.setNativeAccessibilityEnabled = function(on) { | 45 chrome.accessibilityPrivate.setNativeAccessibilityEnabled = function(on) { |
46 }; | 46 }; |
47 | 47 |
48 /** | 48 /** |
49 * @param {number} tabId | 49 * @param {number} tabId |
50 * @param {function(Array.<!Object>)} callback | 50 * @param {function(Array<!Object>)} callback |
51 */ | 51 */ |
52 chrome.accessibilityPrivate.getAlertsForTab = | 52 chrome.accessibilityPrivate.getAlertsForTab = |
53 function(tabId, callback) {}; | 53 function(tabId, callback) {}; |
54 | 54 |
55 /** | 55 /** |
56 * @param {Array.<{left: number, top: number, width: number, height: number}>} | 56 * @param {Array<{left: number, top: number, width: number, height: number}>} |
57 * rects The bounding rects to draw focus ring(s) around, in global | 57 * rects The bounding rects to draw focus ring(s) around, in global |
58 * screen coordinates. | 58 * screen coordinates. |
59 */ | 59 */ |
60 chrome.accessibilityPrivate.setFocusRing = function(rects) { | 60 chrome.accessibilityPrivate.setFocusRing = function(rects) { |
61 }; | 61 }; |
62 | 62 |
63 /** @type ChromeEvent */ | 63 /** @type ChromeEvent */ |
64 chrome.accessibilityPrivate.onWindowOpened; | 64 chrome.accessibilityPrivate.onWindowOpened; |
65 | 65 |
66 /** @type ChromeEvent */ | 66 /** @type ChromeEvent */ |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 /** @type {string} */ | 120 /** @type {string} */ |
121 AccessibilityObject.prototype.details.value; | 121 AccessibilityObject.prototype.details.value; |
122 /** @type {number} */ | 122 /** @type {number} */ |
123 AccessibilityObject.prototype.details.selectionStart; | 123 AccessibilityObject.prototype.details.selectionStart; |
124 /** @type {number} */ | 124 /** @type {number} */ |
125 AccessibilityObject.prototype.details.selectionEnd; | 125 AccessibilityObject.prototype.details.selectionEnd; |
126 /** @type {number} */ | 126 /** @type {number} */ |
127 AccessibilityObject.prototype.details.itemCount; | 127 AccessibilityObject.prototype.details.itemCount; |
128 /** @type {number} */ | 128 /** @type {number} */ |
129 AccessibilityObject.prototype.details.itemIndex; | 129 AccessibilityObject.prototype.details.itemIndex; |
OLD | NEW |