Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(613)

Unified Diff: chrome/common/extensions/api/webview.json

Issue 21297005: <webview>: Refactor Permission API to chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup_permissions
Patch Set: Fixed some bugs Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/webview.json
diff --git a/chrome/common/extensions/api/webview.json b/chrome/common/extensions/api/webview.json
index 4f5bdccb3ff8c32d94533c96de6b6ca827a216dc..7f2f6b78851eddaec5e5ceb841dab324f797d5fd 100644
--- a/chrome/common/extensions/api/webview.json
+++ b/chrome/common/extensions/api/webview.json
@@ -96,6 +96,28 @@
]
},
{
+ "name": "setPermission",
+ "type": "function",
+ "parameters": [
+ {
+ "type": "integer",
+ "name": "instanceId"
+ },
+ {
+ "type": "integer",
+ "name": "requestId"
+ },
+ {
+ "type": "boolean",
+ "name": "shouldAllow"
+ },
+ {
+ "type": "string",
+ "name": "userInput"
+ }
+ ]
+ },
+ {
"name": "stop",
"type": "function",
"parameters": [

Powered by Google App Engine
This is Rietveld 408576698