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

Side by Side Diff: chrome/common/extensions/api/experimental.accessibility.json

Issue 9491002: json_schema_compiler: any, additionalProperties, functions on types (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: add any in arrays to util.h Created 8 years, 9 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 [ 1 [
2 { 2 {
3 "namespace": "experimental.accessibility", 3 "namespace": "experimental.accessibility",
4 "nodoc": true, 4 "nodoc": true,
5 "types": [ 5 "types": [
6 { 6 {
7 "id": "AccessibilityObject", 7 "id": "AccessibilityObject",
8 "type": "object", 8 "type": "object",
9 "description": "Parent class for accessibility information about an obje ct.", 9 "description": "Parent class for accessibility information about an obje ct.",
10 "properties": { 10 "properties": {
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 "type": "function", 142 "type": "function",
143 "description": "Gets information about the currently focused control.", 143 "description": "Gets information about the currently focused control.",
144 "parameters": [ 144 "parameters": [
145 { 145 {
146 "type": "function", 146 "type": "function",
147 "name": "callback", 147 "name": "callback",
148 "parameters": [ 148 "parameters": [
149 { 149 {
150 "name": "control", 150 "name": "control",
151 "description": "Details of the currently focused control, or nul l if nothing is focused.", 151 "description": "Details of the currently focused control, or nul l if nothing is focused.",
152 "choices": [ 152 "$ref": "AccessibilityObject",
153 { "$ref": "AccessibilityObject" }, 153 "optional": true
154 { "type": "null" }
155 ]
156 } 154 }
157 ] 155 ]
158 } 156 }
159 ] 157 ]
160 }, 158 },
161 { 159 {
162 "name": "getAlertsForTab", 160 "name": "getAlertsForTab",
163 "type": "function", 161 "type": "function",
164 "description": "Gets alerts being shown on the given tab.", 162 "description": "Gets alerts being shown on the given tab.",
165 "parameters": [ 163 "parameters": [
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 { 262 {
265 "$ref": "AccessibilityObject", 263 "$ref": "AccessibilityObject",
266 "name": "menu", 264 "name": "menu",
267 "description": "Information about the menu that was closed." 265 "description": "Information about the menu that was closed."
268 } 266 }
269 ] 267 ]
270 } 268 }
271 ] 269 ]
272 } 270 }
273 ] 271 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/devtools_api.json ('k') | chrome/common/extensions/api/experimental.app.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698