OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 // This file was generated by: | 5 // This file was generated by: |
6 // tools/json_schema_compiler/compiler.py. | 6 // tools/json_schema_compiler/compiler.py. |
7 // NOTE: The format of types has changed. 'FooType' is now | 7 // NOTE: The format of types has changed. 'FooType' is now |
8 // 'chrome.accessibilityPrivate.FooType'. | 8 // 'chrome.accessibilityPrivate.FooType'. |
9 // Please run the closure compiler before committing changes. | 9 // Please run the closure compiler before committing changes. |
10 // See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_comp
ilation.md | 10 // See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_comp
ilation.md |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 chrome.accessibilityPrivate.setKeyboardListener = function(enabled, capture) {}; | 95 chrome.accessibilityPrivate.setKeyboardListener = function(enabled, capture) {}; |
96 | 96 |
97 /** | 97 /** |
98 * Darkens or undarkens the screen. | 98 * Darkens or undarkens the screen. |
99 * @param {boolean} enabled True to darken screen; false to undarken screen. | 99 * @param {boolean} enabled True to darken screen; false to undarken screen. |
100 * @see https://developer.chrome.com/extensions/accessibilityPrivate#method-dark
enScreen | 100 * @see https://developer.chrome.com/extensions/accessibilityPrivate#method-dark
enScreen |
101 */ | 101 */ |
102 chrome.accessibilityPrivate.darkenScreen = function(enabled) {}; | 102 chrome.accessibilityPrivate.darkenScreen = function(enabled) {}; |
103 | 103 |
104 /** | 104 /** |
| 105 * Change the keyboard keys captured by Switch Access. |
| 106 * @param {!Array<number>} key_codes The key codes for the keys that will be |
| 107 * captured. |
| 108 * @see https://developer.chrome.com/extensions/accessibilityPrivate#method-setS
witchAccessKeys |
| 109 */ |
| 110 chrome.accessibilityPrivate.setSwitchAccessKeys = function(key_codes) {}; |
| 111 |
| 112 /** |
105 * Fired whenever ChromeVox should output introduction. | 113 * Fired whenever ChromeVox should output introduction. |
106 * @type {!ChromeEvent} | 114 * @type {!ChromeEvent} |
107 * @see https://developer.chrome.com/extensions/accessibilityPrivate#event-onInt
roduceChromeVox | 115 * @see https://developer.chrome.com/extensions/accessibilityPrivate#event-onInt
roduceChromeVox |
108 */ | 116 */ |
109 chrome.accessibilityPrivate.onIntroduceChromeVox; | 117 chrome.accessibilityPrivate.onIntroduceChromeVox; |
110 | 118 |
111 /** | 119 /** |
112 * Fired when an accessibility gesture is detected by the touch exploration | 120 * Fired when an accessibility gesture is detected by the touch exploration |
113 * controller. | 121 * controller. |
114 * @type {!ChromeEvent} | 122 * @type {!ChromeEvent} |
115 * @see https://developer.chrome.com/extensions/accessibilityPrivate#event-onAcc
essibilityGesture | 123 * @see https://developer.chrome.com/extensions/accessibilityPrivate#event-onAcc
essibilityGesture |
116 */ | 124 */ |
117 chrome.accessibilityPrivate.onAccessibilityGesture; | 125 chrome.accessibilityPrivate.onAccessibilityGesture; |
118 | 126 |
119 /** | 127 /** |
120 * Fired when we first detect two fingers are held down, which can be used to | 128 * Fired when we first detect two fingers are held down, which can be used to |
121 * toggle spoken feedback on some touch-only devices. | 129 * toggle spoken feedback on some touch-only devices. |
122 * @type {!ChromeEvent} | 130 * @type {!ChromeEvent} |
123 * @see https://developer.chrome.com/extensions/accessibilityPrivate#event-onTwo
FingerTouchStart | 131 * @see https://developer.chrome.com/extensions/accessibilityPrivate#event-onTwo
FingerTouchStart |
124 */ | 132 */ |
125 chrome.accessibilityPrivate.onTwoFingerTouchStart; | 133 chrome.accessibilityPrivate.onTwoFingerTouchStart; |
126 | 134 |
127 /** | 135 /** |
128 * Fired when the user is no longer holding down two fingers (including | 136 * Fired when the user is no longer holding down two fingers (including |
129 * releasing one, holding down three, or moving them). | 137 * releasing one, holding down three, or moving them). |
130 * @type {!ChromeEvent} | 138 * @type {!ChromeEvent} |
131 * @see https://developer.chrome.com/extensions/accessibilityPrivate#event-onTwo
FingerTouchStop | 139 * @see https://developer.chrome.com/extensions/accessibilityPrivate#event-onTwo
FingerTouchStop |
132 */ | 140 */ |
133 chrome.accessibilityPrivate.onTwoFingerTouchStop; | 141 chrome.accessibilityPrivate.onTwoFingerTouchStop; |
OLD | NEW |