Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: toolkit/components/extensions/schemas/runtime.json

Issue 29863604: Issue 6865 - Update ABP dependency to version 3.2 (Closed)
Patch Set: Adjusting code style Created Jan. 16, 2019, 1:45 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « toolkit/components/extensions/ext-c-runtime.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: toolkit/components/extensions/schemas/runtime.json
===================================================================
--- a/toolkit/components/extensions/schemas/runtime.json
+++ b/toolkit/components/extensions/schemas/runtime.json
@@ -154,16 +154,38 @@
"id": {
"type": "string",
"allowedContexts": ["content", "devtools"],
"description": "The ID of the extension/app."
}
},
"functions": [
{
+ "name": "registerAbbMessageListener",
+ "type": "function",
+ "description": "Function required to listen to Android messages. See https://issues.adblockplus.org/ticket/6865",
+ "parameters": [
+ {
+ "name": "listener",
+ "type": "function"
+ }
+ ]
+ },
+ {
+ "name": "sendAbbMessage",
+ "type": "function",
+ "description": "Function required to send messages to Android. See https://issues.adblockplus.org/ticket/6865",
+ "parameters": [
+ {
+ "name": "type",
+ "type": "string"
+ }
+ ]
+ },
+ {
"name": "getBackgroundPage",
"type": "function",
"description": "Retrieves the JavaScript 'window' object for the background 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.",
"async": "callback",
"parameters": [
{
"type": "function",
"name": "callback",
« no previous file with comments | « toolkit/components/extensions/ext-c-runtime.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld