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