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 build script and removing extension first run page Created Jan. 8, 2019, 2:54 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
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",

Powered by Google App Engine
This is Rietveld