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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 { 6 {
7 "namespace": "webViewInternal", 7 "namespace": "webViewInternal",
8 "description": "none", 8 "description": "none",
9 "compiler_options": { 9 "compiler_options": {
10 "implemented_in": "extensions/browser/api/guest_view/web_view/web_view_int ernal_api.h" 10 "implemented_in": "extensions/browser/api/guest_view/web_view/web_view_int ernal_api.h"
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 "items": { "type": "string"}, 129 "items": { "type": "string"},
130 "optional": true, 130 "optional": true,
131 "description": "The list of CSS files to be injected into matching p ages. These are injected in the order they appear in this array, before any DOM is constructed or displayed for the page." 131 "description": "The list of CSS files to be injected into matching p ages. These are injected in the order they appear in this array, before any DOM is constructed or displayed for the page."
132 }, 132 },
133 "js": { 133 "js": {
134 "type": "array", 134 "type": "array",
135 "items": { "type": "string"}, 135 "items": { "type": "string"},
136 "optional": true, 136 "optional": true,
137 "description": "The list of JavaScript files to be injected into mat ching pages. These are injected in the order they appear in this array." 137 "description": "The list of JavaScript files to be injected into mat ching pages. These are injected in the order they appear in this array."
138 }, 138 },
139 "code": {
140 "type": "string",
141 "optional": true,
142 "description": "The list of JavaScript code to be injected into matc hing 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.
143 },
139 "run_at": { 144 "run_at": {
140 // TODO(hanxi): change the reference to extensionTypes.RunAt after h ttp://crbug.com/477457 is fixed. 145 // TODO(hanxi): change the reference to extensionTypes.RunAt after h ttp://crbug.com/477457 is fixed.
141 "$ref": "RunLocation", 146 "$ref": "RunLocation",
142 "optional": true, 147 "optional": true,
143 "description": "The soonest that the JavaScript or CSS will be injec ted into the tab. Defaults to \"document_idle\"." 148 "description": "The soonest that the JavaScript or CSS will be injec ted into the tab. Defaults to \"document_idle\"."
144 }, 149 },
145 "all_frames": { 150 "all_frames": {
146 "type": "boolean", 151 "type": "boolean",
147 "optional": true, 152 "optional": true,
148 "description": "If allFrames is <code>true</code>, implies that the JavaScript or CSS should be injected into all frames of current page. By default , it's <code>false</code> and is only injected into the top frame." 153 "description": "If allFrames is <code>true</code>, implies that the JavaScript or CSS should be injected into all frames of current page. By default , it's <code>false</code> and is only injected into the top frame."
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 "type": "function", 703 "type": "function",
699 "description": "Called when deletion has completed.", 704 "description": "Called when deletion has completed.",
700 "optional": true, 705 "optional": true,
701 "parameters": [] 706 "parameters": []
702 } 707 }
703 ] 708 ]
704 } 709 }
705 ] 710 ]
706 } 711 }
707 ] 712 ]
OLDNEW
« 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