OLD | NEW |
(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": "appViewInternal", |
| 8 "compiler_options": { |
| 9 "implemented_in": "extensions/browser/api/app_view/app_view_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 provi
ded 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 th
e provided instance ID.", |
| 45 "parameters": [ |
| 46 { |
| 47 "type": "integer", |
| 48 "name": "guestInstanceId", |
| 49 "nodoc": true |
| 50 } |
| 51 ] |
| 52 } |
| 53 ] |
| 54 } |
| 55 ] |
| 56 |
OLD | NEW |