| 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 |
| 1 [ | 5 [ |
| 2 { | 6 { |
| 3 "namespace": "extension", | 7 "namespace": "extension", |
| 4 "nocompile": true, | 8 "nocompile": true, |
| 5 "dependencies": [ "tabs" ], | 9 "dependencies": [ "tabs" ], |
| 6 "types": [ | 10 "types": [ |
| 7 { | 11 { |
| 8 "id": "MessageSender", | 12 "id": "MessageSender", |
| 9 "type": "object", | 13 "type": "object", |
| 10 "description": "An object containing information about the script contex
t that sent a message or request.", | 14 "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... |
| 261 "description": "Fired when a request is sent from another extension.", | 265 "description": "Fired when a request is sent from another extension.", |
| 262 "parameters": [ | 266 "parameters": [ |
| 263 {"name": "request", "type": "any", "description": "The request sent by
the calling script."}, | 267 {"name": "request", "type": "any", "description": "The request sent by
the calling script."}, |
| 264 {"name": "sender", "$ref": "MessageSender" }, | 268 {"name": "sender", "$ref": "MessageSender" }, |
| 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." } | 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." } |
| 266 ] | 270 ] |
| 267 } | 271 } |
| 268 ] | 272 ] |
| 269 } | 273 } |
| 270 ] | 274 ] |
| OLD | NEW |