| OLD | NEW |
| 1 // Copyright 2016 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 |
| 11 | 11 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 * false to stop listening to events. Note that there is only ever one | 86 * false to stop listening to events. Note that there is only ever one |
| 87 * extension listening to key events. | 87 * extension listening to key events. |
| 88 * @param {boolean} capture True if key events should be swallowed natively and | 88 * @param {boolean} capture True if key events should be swallowed natively and |
| 89 * not propagated if preventDefault() gets called by the extension's | 89 * not propagated if preventDefault() gets called by the extension's |
| 90 * background page. | 90 * background page. |
| 91 * @see https://developer.chrome.com/extensions/accessibilityPrivate#method-setK
eyboardListener | 91 * @see https://developer.chrome.com/extensions/accessibilityPrivate#method-setK
eyboardListener |
| 92 */ | 92 */ |
| 93 chrome.accessibilityPrivate.setKeyboardListener = function(enabled, capture) {}; | 93 chrome.accessibilityPrivate.setKeyboardListener = function(enabled, capture) {}; |
| 94 | 94 |
| 95 /** | 95 /** |
| 96 * Darkens or undarkens the screen. |
| 97 * @param {boolean} enabled True to darken screen; false to undarken screen. |
| 98 * @see https://developer.chrome.com/extensions/accessibilityPrivate#method-dark
enScreen |
| 99 */ |
| 100 chrome.accessibilityPrivate.darkenScreen = function(enabled) {}; |
| 101 |
| 102 /** |
| 96 * Fired whenever ChromeVox should output introduction. | 103 * Fired whenever ChromeVox should output introduction. |
| 97 * @type {!ChromeEvent} | 104 * @type {!ChromeEvent} |
| 98 * @see https://developer.chrome.com/extensions/accessibilityPrivate#event-onInt
roduceChromeVox | 105 * @see https://developer.chrome.com/extensions/accessibilityPrivate#event-onInt
roduceChromeVox |
| 99 */ | 106 */ |
| 100 chrome.accessibilityPrivate.onIntroduceChromeVox; | 107 chrome.accessibilityPrivate.onIntroduceChromeVox; |
| 101 | 108 |
| 102 /** | 109 /** |
| 103 * Fired when an accessibility gesture is detected by the touch exploration | 110 * Fired when an accessibility gesture is detected by the touch exploration |
| 104 * controller. | 111 * controller. |
| 105 * @type {!ChromeEvent} | 112 * @type {!ChromeEvent} |
| 106 * @see https://developer.chrome.com/extensions/accessibilityPrivate#event-onAcc
essibilityGesture | 113 * @see https://developer.chrome.com/extensions/accessibilityPrivate#event-onAcc
essibilityGesture |
| 107 */ | 114 */ |
| 108 chrome.accessibilityPrivate.onAccessibilityGesture; | 115 chrome.accessibilityPrivate.onAccessibilityGesture; |
| OLD | NEW |