Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(240)

Side by Side Diff: extensions/common/api/web_view_internal.json

Issue 1582053002: Implement webview.captureVisibleRegion() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 {
673 "name": "clearData", 700 "name": "clearData",
674 "type": "function", 701 "type": "function",
675 "description": "Clears various types of browsing data stored in a storag e partition of a <webview>.", 702 "description": "Clears various types of browsing data stored in a storag e partition of a <webview>.",
676 "parameters": [ 703 "parameters": [
677 { 704 {
678 "type": "integer", 705 "type": "integer",
679 "name": "instanceId", 706 "name": "instanceId",
680 "description": "The instance ID of the guest <webview> process." 707 "description": "The instance ID of the guest <webview> process."
681 }, 708 },
682 { 709 {
(...skipping 10 matching lines...) Expand all
693 "type": "function", 720 "type": "function",
694 "description": "Called when deletion has completed.", 721 "description": "Called when deletion has completed.",
695 "optional": true, 722 "optional": true,
696 "parameters": [] 723 "parameters": []
697 } 724 }
698 ] 725 ]
699 } 726 }
700 ] 727 ]
701 } 728 }
702 ] 729 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698