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": "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 "functions": [ | 12 "functions": [ |
13 { | 13 { |
14 "name": "createGuest", | 14 "name": "createGuest", |
15 "type": "function", | 15 "type": "function", |
16 "parameters": [ | 16 "parameters": [ |
17 { | 17 { |
18 "type": "string", | 18 "type": "string", |
19 "name": "viewType", | 19 "name": "viewType", |
20 "nodoc": true | 20 "nodoc": true |
21 }, | 21 }, |
22 { | 22 { |
23 "type": "object", | 23 "type": "object", |
24 "name": "createParams", | 24 "name": "createParams", |
25 "properties": { | 25 "properties": { |
26 "storagePartitionId": { | 26 "storagePartitionId": { |
27 "type": "string", | 27 "type": "string", |
28 "optional": true | 28 "optional": true |
29 }, | |
30 "extensionId": { | |
Fady Samuel
2014/07/11 21:08:05
Revert. This change is no longer necessary. create
ericzeng
2014/07/12 00:19:17
Done.
| |
31 "type": "string", | |
32 "optional": true | |
29 } | 33 } |
30 } | 34 } |
31 }, | 35 }, |
32 { | 36 { |
33 "type": "function", | 37 "type": "function", |
34 "name": "callback", | 38 "name": "callback", |
35 "parameters": [ | 39 "parameters": [ |
36 { | 40 { |
37 "type": "integer", | 41 "type": "integer", |
38 "name": "instanceId" | 42 "name": "instanceId" |
39 } | 43 } |
40 ] | 44 ] |
41 } | 45 } |
42 ] | 46 ] |
43 } | 47 } |
44 ] | 48 ] |
45 } | 49 } |
46 ] | 50 ] |
OLD | NEW |