OLD | NEW |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 [ | 1 [ |
6 { | 2 { |
7 "namespace": "extension", | 3 "namespace": "extension", |
8 "nocompile": true, | 4 "nocompile": true, |
9 "dependencies": [ "tabs" ], | 5 "dependencies": [ "tabs" ], |
10 "types": [ | 6 "types": [ |
11 { | 7 { |
12 "id": "MessageSender", | 8 "id": "MessageSender", |
13 "type": "object", | 9 "type": "object", |
14 "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.", |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 "description": "Fired when a request is sent from another extension.", | 261 "description": "Fired when a request is sent from another extension.", |
266 "parameters": [ | 262 "parameters": [ |
267 {"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."}, |
268 {"name": "sender", "$ref": "MessageSender" }, | 264 {"name": "sender", "$ref": "MessageSender" }, |
269 {"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." } |
270 ] | 266 ] |
271 } | 267 } |
272 ] | 268 ] |
273 } | 269 } |
274 ] | 270 ] |
OLD | NEW |