| OLD | NEW |
| 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 Loading... |
| 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 ] |
| OLD | NEW |