| 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         "allowedContexts": ["content", "devtools"], | 
 |  165         "description": "Function required to listen to Android messages. See htt
     ps://issues.adblockplus.org/ticket/6865", | 
 |  166         "parameters": [ | 
 |  167           { | 
 |  168             "name": "listener", | 
 |  169             "type": "function" | 
 |  170           } | 
 |  171         ] | 
 |  172       }, | 
 |  173       { | 
 |  174         "name": "sendAbbMessage", | 
 |  175         "type": "function", | 
 |  176         "allowedContexts": ["content", "devtools"], | 
 |  177         "description": "Function required to send messages to Android. See https
     ://issues.adblockplus.org/ticket/6865", | 
 |  178         "parameters": [ | 
 |  179           { | 
 |  180             "name": "type", | 
 |  181             "type": "string" | 
 |  182           } | 
 |  183         ] | 
 |  184       }, | 
 |  185       { | 
|  162         "name": "getBackgroundPage", |  186         "name": "getBackgroundPage", | 
|  163         "type": "function", |  187         "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.", |  188         "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", |  189         "async": "callback", | 
|  166         "parameters": [ |  190         "parameters": [ | 
|  167           { |  191           { | 
|  168             "type": "function", |  192             "type": "function", | 
|  169             "name": "callback", |  193             "name": "callback", | 
|  170             "parameters": [ |  194             "parameters": [ | 
|  171               { |  195               { | 
| (...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  587           { |  611           { | 
|  588             "$ref": "OnRestartRequiredReason", |  612             "$ref": "OnRestartRequiredReason", | 
|  589             "name": "reason", |  613             "name": "reason", | 
|  590             "description": "The reason that the event is being dispatched." |  614             "description": "The reason that the event is being dispatched." | 
|  591           } |  615           } | 
|  592         ] |  616         ] | 
|  593       } |  617       } | 
|  594     ] |  618     ] | 
|  595   } |  619   } | 
|  596 ] |  620 ] | 
| OLD | NEW |