| 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 "type": "string", | 88 "type": "string", |
| 89 "description": "Determines what to do with the active match after the fi
nd session has ended. 'clear' will clear the highlighting over the active match;
'keep' will keep the active match highlighted; 'activate' will keep the active
match highlighted and simulate a user click on that match.", | 89 "description": "Determines what to do with the active match after the fi
nd session has ended. 'clear' will clear the highlighting over the active match;
'keep' will keep the active match highlighted; 'activate' will keep the active
match highlighted and simulate a user click on that match.", |
| 90 "enum": ["clear", "keep", "activate"] | 90 "enum": ["clear", "keep", "activate"] |
| 91 }, | 91 }, |
| 92 { | 92 { |
| 93 "id": "SetPermissionAction", | 93 "id": "SetPermissionAction", |
| 94 "type": "string", | 94 "type": "string", |
| 95 "enum": ["allow", "deny", "default"] | 95 "enum": ["allow", "deny", "default"] |
| 96 }, | 96 }, |
| 97 { | 97 { |
| 98 "id": "RunLocation", | |
| 99 "type": "string", | |
| 100 "enum": ["document_start", "document_end", "document_idle"] | |
| 101 }, | |
| 102 { | |
| 103 "id": "ContentScriptDetails", | 98 "id": "ContentScriptDetails", |
| 104 "type": "object", | 99 "type": "object", |
| 105 "description": "Details of the content script to inject.", | 100 "description": "Details of the content script to inject.", |
| 106 "properties": { | 101 "properties": { |
| 107 "name": { | 102 "name": { |
| 108 "type": "string", | 103 "type": "string", |
| 109 "description": "The name of the content script to inject." | 104 "description": "The name of the content script to inject." |
| 110 }, | 105 }, |
| 111 "matches": { | 106 "matches": { |
| 112 "type": "array", | 107 "type": "array", |
| (...skipping 17 matching lines...) Expand all Loading... |
| 130 "optional": true, | 125 "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." | 126 "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 }, | 127 }, |
| 133 "js": { | 128 "js": { |
| 134 "type": "array", | 129 "type": "array", |
| 135 "items": { "type": "string"}, | 130 "items": { "type": "string"}, |
| 136 "optional": true, | 131 "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." | 132 "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 }, | 133 }, |
| 139 "run_at": { | 134 "run_at": { |
| 140 // TODO(hanxi): change the reference to extensionTypes.RunAt after h
ttp://crbug.com/477457 is fixed. | 135 "$ref": "extensionTypes.RunAt", |
| 141 "$ref": "RunLocation", | |
| 142 "optional": true, | 136 "optional": true, |
| 143 "description": "The soonest that the JavaScript or CSS will be injec
ted into the tab. Defaults to \"document_idle\"." | 137 "description": "The soonest that the JavaScript or CSS will be injec
ted into the tab. Defaults to \"document_idle\"." |
| 144 }, | 138 }, |
| 145 "all_frames": { | 139 "all_frames": { |
| 146 "type": "boolean", | 140 "type": "boolean", |
| 147 "optional": true, | 141 "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." | 142 "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." |
| 149 }, | 143 }, |
| 150 "include_globs": { | 144 "include_globs": { |
| 151 "type": "array", | 145 "type": "array", |
| (...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 698 "type": "function", | 692 "type": "function", |
| 699 "description": "Called when deletion has completed.", | 693 "description": "Called when deletion has completed.", |
| 700 "optional": true, | 694 "optional": true, |
| 701 "parameters": [] | 695 "parameters": [] |
| 702 } | 696 } |
| 703 ] | 697 ] |
| 704 } | 698 } |
| 705 ] | 699 ] |
| 706 } | 700 } |
| 707 ] | 701 ] |
| OLD | NEW |