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

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

Issue 9456007: Add wider support to json_schema_compiler (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: reupload Created 8 years, 10 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/chrome_tests.gypi ('k') | tools/json_schema_compiler/cc_generator.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "extension", 3 "namespace": "extension",
4 "nocompile": true,
4 "dependencies": [ "tabs" ], 5 "dependencies": [ "tabs" ],
5 "types": [ 6 "types": [
6 { 7 {
7 "id": "MessageSender", 8 "id": "MessageSender",
8 "type": "object", 9 "type": "object",
9 "description": "An object containing information about the script contex t that sent a message or request.", 10 "description": "An object containing information about the script contex t that sent a message or request.",
10 "properties": { 11 "properties": {
11 "tab": {"$ref": "Tab", "optional": true, "description":"This property will <b>only</b> be present when the connection was opened from a tab or content script."}, 12 "tab": {"$ref": "Tab", "optional": true, "description":"This property will <b>only</b> be present when the connection was opened from a tab or content script."},
12 "id": {"type": "string", "description": "The extension ID of the exten sion that opened the connection."} 13 "id": {"type": "string", "description": "The extension ID of the exten sion that opened the connection."}
13 } 14 }
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 "description": "Fired when a request is sent from another extension.", 261 "description": "Fired when a request is sent from another extension.",
261 "parameters": [ 262 "parameters": [
262 {"name": "request", "type": "any", "description": "The request sent by the calling script."}, 263 {"name": "request", "type": "any", "description": "The request sent by the calling script."},
263 {"name": "sender", "$ref": "MessageSender" }, 264 {"name": "sender", "$ref": "MessageSender" },
264 {"name": "sendResponse", "type": "function", "description": "Function to call when you have a response. The argument should be any JSON-ifiable object , or undefined if there is no response." } 265 {"name": "sendResponse", "type": "function", "description": "Function to call when you have a response. The argument should be any JSON-ifiable object , or undefined if there is no response." }
265 ] 266 ]
266 } 267 }
267 ] 268 ]
268 } 269 }
269 ] 270 ]
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | tools/json_schema_compiler/cc_generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698