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

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

Issue 15841013: Make miscellaneous_bindings and event_bindings Required as needed. Previously (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_renderer.gypi ('k') | chrome/common/extensions/extension_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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": "test", 7 "namespace": "test",
8 "nodoc": true, 8 "nodoc": true,
9 "types": [], 9 "types": [],
10 "functions": [ 10 "functions": [
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 "type": "function", 303 "type": "function",
304 "nocompile": true, 304 "nocompile": true,
305 "parameters": [ 305 "parameters": [
306 { 306 {
307 "type": "array", 307 "type": "array",
308 "name": "apiNames", 308 "name": "apiNames",
309 "optional": true, 309 "optional": true,
310 "items": {"type": "string"} 310 "items": {"type": "string"}
311 } 311 }
312 ] 312 ]
313 },
314 {
315 "name": "createEvent",
316 "type": "function",
317 "nocompile": true,
318 "parameters": [
319 {
320 "type": "string",
321 "name": "name",
322 "optional": true
323 }
324 ]
313 } 325 }
314 ], 326 ],
315 "events": [ 327 "events": [
316 { 328 {
317 "name": "onMessage", 329 "name": "onMessage",
318 "type": "function", 330 "type": "function",
319 "unprivileged": true, 331 "unprivileged": true,
320 "description": "Used to test sending messages to extensions.", 332 "description": "Used to test sending messages to extensions.",
321 "parameters": [ 333 "parameters": [
322 { 334 {
323 "type": "object", 335 "type": "object",
324 "name": "info", 336 "name": "info",
325 "properties": { 337 "properties": {
326 "data": { "type": "string", "description": "Additional information ." }, 338 "data": { "type": "string", "description": "Additional information ." },
327 "lastMessage": { "type": "boolean", "description": "True if this w as the last message for this test" } 339 "lastMessage": { "type": "boolean", "description": "True if this w as the last message for this test" }
328 } 340 }
329 } 341 }
330 ] 342 ]
331 } 343 }
332 ] 344 ]
333 } 345 }
334 ] 346 ]
OLDNEW
« no previous file with comments | « chrome/chrome_renderer.gypi ('k') | chrome/common/extensions/extension_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698