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

Side by Side Diff: chrome/common/extensions/api/guest_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: Initialize variable 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": "guestViewInternal", 7 "namespace": "guestViewInternal",
8 "compiler_options": { 8 "compiler_options": {
9 "implemented_in": "chrome/browser/extensions/api/guest_view/guest_view_int ernal_api.h" 9 "implemented_in": "chrome/browser/extensions/api/guest_view/guest_view_int ernal_api.h"
10 }, 10 },
11 "description": "none", 11 "description": "none",
12 "types": [
13 {
14 "id": "Size",
15 "type": "object",
16 "properties": {
17 "width": {
18 "type": "integer"
19 },
20 "height": {
21 "type": "integer"
22 }
23 }
24 },
25 {
26 "id": "AutoSizeParams",
27 "type": "object",
28 "description": "Autosize parameters.",
29 "properties": {
30 "enableAutoSize": {
31 "type": "boolean"
32 },
33 "min": {
34 "$ref": "Size"
35 },
36 "max": {
37 "$ref": "Size"
38 }
39 }
40 }
41 ],
12 "functions": [ 42 "functions": [
13 { 43 {
14 "name": "createGuest", 44 "name": "createGuest",
15 "type": "function", 45 "type": "function",
16 "parameters": [ 46 "parameters": [
17 { 47 {
18 "type": "string", 48 "type": "string",
19 "name": "viewType", 49 "name": "viewType",
20 "nodoc": true 50 "nodoc": true
21 }, 51 },
22 { 52 {
23 "type": "object", 53 "type": "object",
24 "name": "createParams", 54 "name": "createParams",
25 "additionalProperties": {"type": "any"} 55 "additionalProperties": {"type": "any"}
26 }, 56 },
27 { 57 {
28 "type": "function", 58 "type": "function",
29 "name": "callback", 59 "name": "callback",
30 "parameters": [ 60 "parameters": [
31 { 61 {
32 "type": "integer", 62 "type": "integer",
33 "name": "instanceId" 63 "name": "instanceId"
34 } 64 }
35 ] 65 ]
36 } 66 }
37 ] 67 ]
68 },
69 {
70 "name": "setAutoSize",
71 "type": "function",
72 "parameters": [
73 {
74 "type": "integer",
75 "name": "instanceId",
76 "description": "The instance ID of the guest &lt;webview&gt; process . This not exposed to developers through the API."
77 },
78 {
79 "$ref": "AutoSizeParams",
80 "name": "params"
81 }
82 ]
38 } 83 }
39 ] 84 ]
40 } 85 }
41 ] 86 ]
OLDNEW
« no previous file with comments | « chrome/browser/guest_view/web_view/web_view_guest.cc ('k') | chrome/renderer/resources/extensions/web_view.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698