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

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

Issue 2905373002: Set keys for SwitchAccessEventHandler to capture using accessibiltyPrivate API (Closed)
Patch Set: Responded to comment Created 3 years, 6 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 "name": "darkenScreen", 93 "name": "darkenScreen",
94 "type": "function", 94 "type": "function",
95 "description": "Darkens or undarkens the screen.", 95 "description": "Darkens or undarkens the screen.",
96 "parameters": [ 96 "parameters": [
97 { 97 {
98 "type": "boolean", 98 "type": "boolean",
99 "name": "enabled", 99 "name": "enabled",
100 "description": "True to darken screen; false to undarken screen." 100 "description": "True to darken screen; false to undarken screen."
101 } 101 }
102 ] 102 ]
103 },
104 {
105 "name": "setSwitchAccessKeys",
106 "type": "function",
107 "description": "Change the keyboard keys captured by Switch Access.",
108 "parameters": [
109 {
110 "name": "key_codes",
111 "type": "array",
112 "items": {
113 "type": "integer",
114 "minimum": 48, // '0' key
115 "maximum": 90 // 'z' key
116 },
117 "description": "The key codes for the keys that will be captured."
118 }
119 ],
120 "platforms": ["chromeos"]
103 } 121 }
104 ], 122 ],
105 "events": [ 123 "events": [
106 { 124 {
107 "name": "onIntroduceChromeVox", 125 "name": "onIntroduceChromeVox",
108 "type": "function", 126 "type": "function",
109 "description": "Fired whenever ChromeVox should output introduction." 127 "description": "Fired whenever ChromeVox should output introduction."
110 }, 128 },
111 { 129 {
112 "name": "onAccessibilityGesture", 130 "name": "onAccessibilityGesture",
(...skipping 14 matching lines...) Expand all
127 }, 145 },
128 { 146 {
129 "name": "onTwoFingerTouchStop", 147 "name": "onTwoFingerTouchStop",
130 "type": "function", 148 "type": "function",
131 "description": "Fired when the user is no longer holding down two finge rs (including releasing one, holding down three, or moving them).", 149 "description": "Fired when the user is no longer holding down two finge rs (including releasing one, holding down three, or moving them).",
132 "parameters": [] 150 "parameters": []
133 } 151 }
134 ] 152 ]
135 } 153 }
136 ] 154 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698