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/web_view/web_view_internal_api.h
" | 10 "implemented_in": "extensions/browser/api/web_view/web_view_internal_api.h
" |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 { | 121 { |
122 "type": "function", | 122 "type": "function", |
123 "name": "callback", | 123 "name": "callback", |
124 "optional": true, | 124 "optional": true, |
125 "description": "Called when all the CSS has been inserted.", | 125 "description": "Called when all the CSS has been inserted.", |
126 "parameters": [] | 126 "parameters": [] |
127 } | 127 } |
128 ] | 128 ] |
129 }, | 129 }, |
130 { | 130 { |
131 "name": "captureVisibleRegion", | |
132 "type": "function", | |
133 "description": "Captures the visible area of the currently loaded page i
nside <webview>.", | |
134 "parameters": [ | |
135 { | |
136 "type": "integer", | |
137 "name": "instanceId", | |
138 "description": "The instance ID of the guest <webview> process." | |
139 }, | |
140 { | |
141 "$ref": "extensionTypes.ImageDetails", | |
142 "name": "options", | |
143 "optional": true | |
144 }, | |
145 { | |
146 "type": "function", "name": "callback", "parameters": [ | |
147 {"type": "string", "name": "dataUrl", "description": "A data URL w
hich encodes an image of the visible area of the captured tab. May be assigned t
o the 'src' property of an HTML Image element for display."} | |
148 ] | |
149 } | |
150 ] | |
151 }, | |
152 { | |
153 "name": "setZoom", | 131 "name": "setZoom", |
154 "type": "function", | 132 "type": "function", |
155 "parameters": [ | 133 "parameters": [ |
156 { | 134 { |
157 "type": "integer", | 135 "type": "integer", |
158 "name": "instanceId", | 136 "name": "instanceId", |
159 "description": "The instance ID of the guest <webview> process." | 137 "description": "The instance ID of the guest <webview> process." |
160 }, | 138 }, |
161 { | 139 { |
162 "type": "number", | 140 "type": "number", |
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
498 "type": "function", | 476 "type": "function", |
499 "description": "Called when deletion has completed.", | 477 "description": "Called when deletion has completed.", |
500 "optional": true, | 478 "optional": true, |
501 "parameters": [] | 479 "parameters": [] |
502 } | 480 } |
503 ] | 481 ] |
504 } | 482 } |
505 ] | 483 ] |
506 } | 484 } |
507 ] | 485 ] |
OLD | NEW |