Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(368)

Side by Side Diff: third_party/closure_compiler/externs/accessibility_private.js

Issue 2789583004: Add a color argument to accessibilityPrivate.setFocusRing (Closed)
Patch Set: Rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/common/extensions/api/accessibility_private.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 * @param {boolean} enabled True if native accessibility support should be 67 * @param {boolean} enabled True if native accessibility support should be
68 * enabled. 68 * enabled.
69 * @see https://developer.chrome.com/extensions/accessibilityPrivate#method-setN ativeAccessibilityEnabled 69 * @see https://developer.chrome.com/extensions/accessibilityPrivate#method-setN ativeAccessibilityEnabled
70 */ 70 */
71 chrome.accessibilityPrivate.setNativeAccessibilityEnabled = function(enabled) {} ; 71 chrome.accessibilityPrivate.setNativeAccessibilityEnabled = function(enabled) {} ;
72 72
73 /** 73 /**
74 * Set the bounds of the accessibility focus ring. 74 * Set the bounds of the accessibility focus ring.
75 * @param {!Array<!chrome.accessibilityPrivate.ScreenRect>} rects Array of 75 * @param {!Array<!chrome.accessibilityPrivate.ScreenRect>} rects Array of
76 * rectangles to draw the accessibility focus ring around. 76 * rectangles to draw the accessibility focus ring around.
77 * @param {string=} opt_color CSS-style hex color string beginning with "#"
78 * like "#FF9982" or "#EEE".
77 * @see https://developer.chrome.com/extensions/accessibilityPrivate#method-setF ocusRing 79 * @see https://developer.chrome.com/extensions/accessibilityPrivate#method-setF ocusRing
78 */ 80 */
79 chrome.accessibilityPrivate.setFocusRing = function(rects) {}; 81 chrome.accessibilityPrivate.setFocusRing = function(rects, opt_color) {};
80 82
81 /** 83 /**
82 * Sets the calling extension as a listener of all keyboard events optionally 84 * Sets the calling extension as a listener of all keyboard events optionally
83 * allowing the calling extension to capture/swallow the key event via DOM apis. 85 * allowing the calling extension to capture/swallow the key event via DOM apis.
84 * Returns false via callback when unable to set the listener. 86 * Returns false via callback when unable to set the listener.
85 * @param {boolean} enabled True if the caller wants to listen to key events; 87 * @param {boolean} enabled True if the caller wants to listen to key events;
86 * false to stop listening to events. Note that there is only ever one 88 * false to stop listening to events. Note that there is only ever one
87 * extension listening to key events. 89 * extension listening to key events.
88 * @param {boolean} capture True if key events should be swallowed natively and 90 * @param {boolean} capture True if key events should be swallowed natively and
89 * not propagated if preventDefault() gets called by the extension's 91 * not propagated if preventDefault() gets called by the extension's
(...skipping 16 matching lines...) Expand all
106 */ 108 */
107 chrome.accessibilityPrivate.onIntroduceChromeVox; 109 chrome.accessibilityPrivate.onIntroduceChromeVox;
108 110
109 /** 111 /**
110 * Fired when an accessibility gesture is detected by the touch exploration 112 * Fired when an accessibility gesture is detected by the touch exploration
111 * controller. 113 * controller.
112 * @type {!ChromeEvent} 114 * @type {!ChromeEvent}
113 * @see https://developer.chrome.com/extensions/accessibilityPrivate#event-onAcc essibilityGesture 115 * @see https://developer.chrome.com/extensions/accessibilityPrivate#event-onAcc essibilityGesture
114 */ 116 */
115 chrome.accessibilityPrivate.onAccessibilityGesture; 117 chrome.accessibilityPrivate.onAccessibilityGesture;
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/accessibility_private.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698