Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / extensions / common / api / app_view_guest_internal.json
blob37fe657e6f5ccd615515bb58061e114a711a7cac
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.
6   {
7     "namespace": "appViewGuestInternal",
8     "compiler_options": {
9       "implemented_in": "extensions/browser/api/guest_view/app_view/app_view_guest_internal_api.h"
10     },
11     "description": "none",
12     "functions": [
13       {
14         "name": "attachFrame",
15         "type": "function",
16         "description": "Attaches the specified url to the AppView with the provided instance ID.",
17         "parameters": [
18           {
19             "type": "string",
20             "name": "url",
21             "nodoc": true
22           },
23           {
24             "type": "integer",
25             "name": "guestInstanceId",
26             "nodoc": true
27           },
28           {
29             "type": "function",
30             "name": "callback",
31             "optional": true,
32             "parameters": [
33               {
34                 "type": "integer",
35                 "name": "instanceId"
36               }
37             ]
38           }
39         ]
40       },
41       {
42         "name": "denyRequest",
43         "type": "function",
44         "description": "Denies the embedding request made by the AppView with the provided instance ID.",
45         "parameters": [
46           {
47             "type": "integer",
48             "name": "guestInstanceId",
49             "nodoc": true
50           }
51         ]
52       }
53     ]
54   }