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

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

Issue 494853004: Move guest_view_internal_api to extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 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
« no previous file with comments | « chrome/chrome_browser_extensions.gypi ('k') | chrome/common/extensions/api/schemas.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 [
6 {
7 "namespace": "guestViewInternal",
8 "compiler_options": {
9 "implemented_in": "chrome/browser/extensions/api/guest_view/guest_view_int ernal_api.h"
10 },
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 ],
42 "functions": [
43 {
44 "name": "createGuest",
45 "type": "function",
46 "parameters": [
47 {
48 "type": "string",
49 "name": "viewType",
50 "nodoc": true
51 },
52 {
53 "type": "object",
54 "name": "createParams",
55 "additionalProperties": {"type": "any"}
56 },
57 {
58 "type": "function",
59 "name": "callback",
60 "parameters": [
61 {
62 "type": "integer",
63 "name": "instanceId"
64 }
65 ]
66 }
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 <webview> process . This not exposed to developers through the API."
77 },
78 {
79 "$ref": "AutoSizeParams",
80 "name": "params"
81 }
82 ]
83 }
84 ]
85 }
86 ]
OLDNEW
« no previous file with comments | « chrome/chrome_browser_extensions.gypi ('k') | chrome/common/extensions/api/schemas.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698