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": "runtime", | 7 "namespace": "runtime", |
8 "dependencies": [ "events", "tabs" ], | |
9 "documentation_permissions_required": ["runtime"], | 8 "documentation_permissions_required": ["runtime"], |
10 "types": [ | 9 "types": [ |
11 { | 10 { |
12 "id": "Port", | 11 "id": "Port", |
13 "type": "object", | 12 "type": "object", |
14 "description": "An object which allows two way communication with other
pages.", | 13 "description": "An object which allows two way communication with other
pages.", |
15 "properties": { | 14 "properties": { |
16 "name": {"type": "string"}, | 15 "name": {"type": "string"}, |
17 "disconnect": { "type": "function" }, | 16 "disconnect": { "type": "function" }, |
18 "onDisconnect": { "$ref": "events.Event" }, | 17 "onDisconnect": { "$ref": "events.Event" }, |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 "optional": "true", | 362 "optional": "true", |
364 "description": "Return true from the event listener if you wish to cal
l <code>sendResponse</code> after the event listener returns." | 363 "description": "Return true from the event listener if you wish to cal
l <code>sendResponse</code> after the event listener returns." |
365 } | 364 } |
366 } | 365 } |
367 | 366 |
368 | 367 |
369 | 368 |
370 ] | 369 ] |
371 } | 370 } |
372 ] | 371 ] |
OLD | NEW |