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 652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
663 "name": "terminate", | 663 "name": "terminate", |
664 "type": "function", | 664 "type": "function", |
665 "parameters": [ | 665 "parameters": [ |
666 { | 666 { |
667 "type": "integer", | 667 "type": "integer", |
668 "name": "instanceId" | 668 "name": "instanceId" |
669 } | 669 } |
670 ] | 670 ] |
671 }, | 671 }, |
672 { | 672 { |
673 "name": "captureVisibleRegion", | |
674 "type": "function", | |
675 "description": "foo", | |
676 "parameters": [ | |
677 { | |
678 "type": "integer", | |
679 "name": "instanceId", | |
680 "description": "The instance ID of the guest <webview> process." | |
681 }, | |
682 { | |
683 "$ref": "extensionTypes.ImageDetails", | |
684 "name": "options", | |
685 "optional": true | |
686 }, | |
687 { | |
688 "type": "function", | |
689 "name": "callback", | |
690 "parameters": [ | |
691 {"type": "string", | |
692 "name": "dataUrl", | |
693 "description": "A data URL which encodes an image of the visible
area of the captured tab. May be assigned to the 'src' property of an HTML Imag
e element for display." | |
694 } | |
695 ] | |
696 } | |
697 ] | |
698 }, | |
699 { | |
700 "name": "clearData", | 673 "name": "clearData", |
701 "type": "function", | 674 "type": "function", |
702 "description": "Clears various types of browsing data stored in a storag
e partition of a <webview>.", | 675 "description": "Clears various types of browsing data stored in a storag
e partition of a <webview>.", |
703 "parameters": [ | 676 "parameters": [ |
704 { | 677 { |
705 "type": "integer", | 678 "type": "integer", |
706 "name": "instanceId", | 679 "name": "instanceId", |
707 "description": "The instance ID of the guest <webview> process." | 680 "description": "The instance ID of the guest <webview> process." |
708 }, | 681 }, |
709 { | 682 { |
(...skipping 10 matching lines...) Expand all Loading... |
720 "type": "function", | 693 "type": "function", |
721 "description": "Called when deletion has completed.", | 694 "description": "Called when deletion has completed.", |
722 "optional": true, | 695 "optional": true, |
723 "parameters": [] | 696 "parameters": [] |
724 } | 697 } |
725 ] | 698 ] |
726 } | 699 } |
727 ] | 700 ] |
728 } | 701 } |
729 ] | 702 ] |
OLD | NEW |