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

Unified Diff: extensions/common/api/web_view_internal.json

Issue 1058113002: Implement <webview>.addContentScript/removeContentScript API [3] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webui_api_1
Patch Set: nits Created 5 years, 8 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: extensions/common/api/web_view_internal.json
diff --git a/extensions/common/api/web_view_internal.json b/extensions/common/api/web_view_internal.json
index b9f0a212a06dba8049535ea5b5487885e93e6443..3d5add5b8fed4fcd785b92574bce95939dc0d8b1 100644
--- a/extensions/common/api/web_view_internal.json
+++ b/extensions/common/api/web_view_internal.json
@@ -136,6 +136,11 @@
"optional": true,
"description": "The list of JavaScript files to be injected into matching pages. These are injected in the order they appear in this array."
},
+ "code": {
+ "type": "string",
+ "optional": true,
+ "description": "The list of JavaScript code to be injected into matching pages. These are injected in the order they appear in this array."
+ },
"run_at": {
"$ref": "RunLocation",
"optional": true,

Powered by Google App Engine
This is Rietveld 408576698