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

Side by Side Diff: chrome/common/extensions/api/accessibility_private.json

Issue 2789583004: Add a color argument to accessibilityPrivate.setFocusRing (Closed)
Patch Set: 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
OLDNEW
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 [ 5 [
6 { 6 {
7 "namespace": "accessibilityPrivate", 7 "namespace": "accessibilityPrivate",
8 "compiler_options": { 8 "compiler_options": {
9 "implemented_in": "chrome/browser/accessibility/accessibility_extension_ap i.h" 9 "implemented_in": "chrome/browser/accessibility/accessibility_extension_ap i.h"
10 }, 10 },
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 { 55 {
56 "name": "setFocusRing", 56 "name": "setFocusRing",
57 "type": "function", 57 "type": "function",
58 "description": "Set the bounds of the accessibility focus ring.", 58 "description": "Set the bounds of the accessibility focus ring.",
59 "parameters": [ 59 "parameters": [
60 { 60 {
61 "name": "rects", 61 "name": "rects",
62 "type": "array", 62 "type": "array",
63 "items": { "$ref": "ScreenRect" }, 63 "items": { "$ref": "ScreenRect" },
64 "description": "Array of rectangles to draw the accessibility focus ring around." 64 "description": "Array of rectangles to draw the accessibility focus ring around."
65 } 65 },
66 » {
xiyuan 2017/03/30 21:27:39 replace tab with spaces
dmazzoni 2017/03/30 21:34:52 Done.
67 » "name": "color",
68 » "type": "string",
69 » "description": "CSS-style hex color string beginning with # like #FF 9982 or #EEE.",
70 » "optional": true
71 » }
66 ] 72 ]
67 }, 73 },
68 { 74 {
69 "name": "setKeyboardListener", 75 "name": "setKeyboardListener",
70 "type": "function", 76 "type": "function",
71 "description": "Sets the calling extension as a listener of all keyboard events optionally allowing the calling extension to capture/swallow the key eve nt via DOM apis. Returns false via callback when unable to set the listener.", 77 "description": "Sets the calling extension as a listener of all keyboard events optionally allowing the calling extension to capture/swallow the key eve nt via DOM apis. Returns false via callback when unable to set the listener.",
72 "parameters": [ 78 "parameters": [
73 { 79 {
74 "type": "boolean", 80 "type": "boolean",
75 "name": "enabled", 81 "name": "enabled",
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 "parameters": [ 115 "parameters": [
110 { 116 {
111 "name": "gesture", 117 "name": "gesture",
112 "$ref": "Gesture" 118 "$ref": "Gesture"
113 } 119 }
114 ] 120 ]
115 } 121 }
116 ] 122 ]
117 } 123 }
118 ] 124 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698