| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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": "manifest", | 7 "namespace": "manifest", |
| 8 "types": [ | 8 "types": [ |
| 9 { | 9 { |
| 10 "$extend": "Permission", | 10 "$extend": "Permission", |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 } | 152 } |
| 153 }, | 153 }, |
| 154 "id": { | 154 "id": { |
| 155 "type": "string", | 155 "type": "string", |
| 156 "allowedContexts": ["content", "devtools"], | 156 "allowedContexts": ["content", "devtools"], |
| 157 "description": "The ID of the extension/app." | 157 "description": "The ID of the extension/app." |
| 158 } | 158 } |
| 159 }, | 159 }, |
| 160 "functions": [ | 160 "functions": [ |
| 161 { | 161 { |
| 162 "name": "registerAbbMessageListener", |
| 163 "type": "function", |
| 164 "description": "Function required to listen to Android messages. See htt
ps://issues.adblockplus.org/ticket/6865", |
| 165 "parameters": [ |
| 166 { |
| 167 "name": "listener", |
| 168 "type": "function" |
| 169 } |
| 170 ] |
| 171 }, |
| 172 { |
| 173 "name": "sendAbbMessage", |
| 174 "type": "function", |
| 175 "description": "Function required to send messages to Android. See https
://issues.adblockplus.org/ticket/6865", |
| 176 "parameters": [ |
| 177 { |
| 178 "name": "type", |
| 179 "type": "string" |
| 180 } |
| 181 ] |
| 182 }, |
| 183 { |
| 162 "name": "getBackgroundPage", | 184 "name": "getBackgroundPage", |
| 163 "type": "function", | 185 "type": "function", |
| 164 "description": "Retrieves the JavaScript 'window' object for the backgro
und page running inside the current extension/app. If the background page is an
event page, the system will ensure it is loaded before calling the callback. If
there is no background page, an error is set.", | 186 "description": "Retrieves the JavaScript 'window' object for the backgro
und page running inside the current extension/app. If the background page is an
event page, the system will ensure it is loaded before calling the callback. If
there is no background page, an error is set.", |
| 165 "async": "callback", | 187 "async": "callback", |
| 166 "parameters": [ | 188 "parameters": [ |
| 167 { | 189 { |
| 168 "type": "function", | 190 "type": "function", |
| 169 "name": "callback", | 191 "name": "callback", |
| 170 "parameters": [ | 192 "parameters": [ |
| 171 { | 193 { |
| (...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 587 { | 609 { |
| 588 "$ref": "OnRestartRequiredReason", | 610 "$ref": "OnRestartRequiredReason", |
| 589 "name": "reason", | 611 "name": "reason", |
| 590 "description": "The reason that the event is being dispatched." | 612 "description": "The reason that the event is being dispatched." |
| 591 } | 613 } |
| 592 ] | 614 ] |
| 593 } | 615 } |
| 594 ] | 616 ] |
| 595 } | 617 } |
| 596 ] | 618 ] |
| OLD | NEW |