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

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

Issue 427883002: <webview>: Move autosize from content to chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_frame_url
Patch Set: Works Created 6 years, 4 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": "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"
11 }, 11 },
12 "dependencies": ["contextMenusInternal"], 12 "dependencies": ["contextMenusInternal"],
13 "types": [ 13 "types": [
14 { 14 {
15 "id": "Size",
16 "type": "object",
17 "properties": {
18 "width": {
19 "type": "integer"
20 },
21 "height": {
22 "type": "integer"
23 }
24 }
25 },
26 {
27 "id": "AutoSizeParams",
28 "type": "object",
29 "description": "Autosize parameters.",
30 "properties": {
31 "enableAutoSize": {
32 "type": "boolean"
33 },
34 "min": {
35 "$ref": "Size"
36 },
37 "max": {
38 "$ref": "Size"
39 }
40 }
41 },
42 {
15 "id": "DataTypeSet", 43 "id": "DataTypeSet",
16 "type": "object", 44 "type": "object",
17 "description": "A set of data types. Missing data types are interpreted as <code>false</code>.", 45 "description": "A set of data types. Missing data types are interpreted as <code>false</code>.",
18 "properties": { 46 "properties": {
19 "appcache": { 47 "appcache": {
20 "type": "boolean", 48 "type": "boolean",
21 "optional": true, 49 "optional": true,
22 "description": "Websites' appcaches." 50 "description": "Websites' appcaches."
23 }, 51 },
24 "cookies": { 52 "cookies": {
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 "type": "integer", 690 "type": "integer",
663 "name": "instanceId" 691 "name": "instanceId"
664 }, 692 },
665 { 693 {
666 "type": "string", 694 "type": "string",
667 "name": "src" 695 "name": "src"
668 } 696 }
669 ] 697 ]
670 }, 698 },
671 { 699 {
700 "name": "setAutoSize",
701 "type": "function",
702 "parameters": [
703 {
704 "type": "integer",
705 "name": "instanceId",
706 "description": "The instance ID of the guest &lt;webview&gt; process . This not exposed to developers through the API."
707 },
708 {
709 "$ref": "AutoSizeParams",
710 "name": "params"
711 }
712 ]
713 },
714 {
672 "name": "showContextMenu", 715 "name": "showContextMenu",
673 "type": "function", 716 "type": "function",
674 "parameters": [ 717 "parameters": [
675 { 718 {
676 "type": "integer", 719 "type": "integer",
677 "name": "instanceId", 720 "name": "instanceId",
678 "description": "The instance ID of the guest &lt;webview&gt; process . This not exposed to developers through the API." 721 "description": "The instance ID of the guest &lt;webview&gt; process . This not exposed to developers through the API."
679 }, 722 },
680 { 723 {
681 "type": "integer", 724 "type": "integer",
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 "events": [ 758 "events": [
716 { 759 {
717 "name": "onClicked", 760 "name": "onClicked",
718 "type": "function", 761 "type": "function",
719 "nodoc": true, 762 "nodoc": true,
720 "$ref": "contextMenusInternal.onClicked" 763 "$ref": "contextMenusInternal.onClicked"
721 } 764 }
722 ] 765 ]
723 } 766 }
724 ] 767 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698