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

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: Rebase and replace \" by \'. 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
« no previous file with comments | « extensions/browser/api/guest_view/web_view/web_view_internal_api.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a2d679b857de05d69cf9601c13e5b6db96636799..2419c0a8b4d23de1eaba6df8e16e3a7c0d4f489a 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."
Fady Samuel 2015/04/18 15:40:24 This description is no longer accurate. This is no
Xi Han 2015/04/20 13:37:15 Done.
+ },
"run_at": {
// TODO(hanxi): change the reference to extensionTypes.RunAt after http://crbug.com/477457 is fixed.
"$ref": "RunLocation",
« no previous file with comments | « extensions/browser/api/guest_view/web_view/web_view_internal_api.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698