| 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": "chrome/browser/extensions/api/web_view/web_view_interna
l_api.h" | 10 "implemented_in": "chrome/browser/extensions/api/web_view/web_view_interna
l_api.h" |
| (...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 405 "name": "captureVisibleRegion", | 405 "name": "captureVisibleRegion", |
| 406 "type": "function", | 406 "type": "function", |
| 407 "description": "Captures the visible area of the currently loaded page i
nside <webview>.", | 407 "description": "Captures the visible area of the currently loaded page i
nside <webview>.", |
| 408 "parameters": [ | 408 "parameters": [ |
| 409 { | 409 { |
| 410 "type": "integer", | 410 "type": "integer", |
| 411 "name": "instanceId", | 411 "name": "instanceId", |
| 412 "description": "The instance ID of the guest <webview> process." | 412 "description": "The instance ID of the guest <webview> process." |
| 413 }, | 413 }, |
| 414 { | 414 { |
| 415 "$ref": "types.ImageDetails", | 415 "$ref": "extension_types.ImageDetails", |
| 416 "name": "options", | 416 "name": "options", |
| 417 "optional": true | 417 "optional": true |
| 418 }, | 418 }, |
| 419 { | 419 { |
| 420 "type": "function", "name": "callback", "parameters": [ | 420 "type": "function", "name": "callback", "parameters": [ |
| 421 {"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."} | 421 {"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."} |
| 422 ] | 422 ] |
| 423 } | 423 } |
| 424 ] | 424 ] |
| 425 }, | 425 }, |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 715 "events": [ | 715 "events": [ |
| 716 { | 716 { |
| 717 "name": "onClicked", | 717 "name": "onClicked", |
| 718 "type": "function", | 718 "type": "function", |
| 719 "nodoc": true, | 719 "nodoc": true, |
| 720 "$ref": "contextMenusInternal.onClicked" | 720 "$ref": "contextMenusInternal.onClicked" |
| 721 } | 721 } |
| 722 ] | 722 ] |
| 723 } | 723 } |
| 724 ] | 724 ] |
| OLD | NEW |