OLD | NEW |
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 Loading... |
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." |
| 143 }, |
139 "run_at": { | 144 "run_at": { |
140 "$ref": "RunLocation", | 145 "$ref": "RunLocation", |
141 "optional": true, | 146 "optional": true, |
142 "description": "The soonest that the JavaScript or CSS will be injec
ted into the tab. Defaults to \"document_idle\"." | 147 "description": "The soonest that the JavaScript or CSS will be injec
ted into the tab. Defaults to \"document_idle\"." |
143 }, | 148 }, |
144 "all_frames": { | 149 "all_frames": { |
145 "type": "boolean", | 150 "type": "boolean", |
146 "optional": true, | 151 "optional": true, |
147 "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." | 152 "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." |
148 }, | 153 }, |
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
697 "type": "function", | 702 "type": "function", |
698 "description": "Called when deletion has completed.", | 703 "description": "Called when deletion has completed.", |
699 "optional": true, | 704 "optional": true, |
700 "parameters": [] | 705 "parameters": [] |
701 } | 706 } |
702 ] | 707 ] |
703 } | 708 } |
704 ] | 709 ] |
705 } | 710 } |
706 ] | 711 ] |
OLD | NEW |