| // Copyright 2014 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| [ |
| { |
| "namespace": "appViewInternal", |
| "compiler_options": { |
| "implemented_in": "extensions/browser/api/app_view/app_view_internal_api.h" |
| }, |
| "description": "none", |
| "functions": [ |
| { |
| "name": "attachFrame", |
| "type": "function", |
| "description": "Attaches the specified url to the AppView with the provided instance ID.", |
| "parameters": [ |
| { |
| "type": "string", |
| "name": "url", |
| "nodoc": true |
| }, |
| { |
| "type": "integer", |
| "name": "guestInstanceId", |
| "nodoc": true |
| }, |
| { |
| "type": "function", |
| "name": "callback", |
| "optional": true, |
| "parameters": [ |
| { |
| "type": "integer", |
| "name": "instanceId" |
| } |
| ] |
| } |
| ] |
| }, |
| { |
| "name": "denyRequest", |
| "type": "function", |
| "description": "Denies the embedding request made by the AppView with the provided instance ID.", |
| "parameters": [ |
| { |
| "type": "integer", |
| "name": "guestInstanceId", |
| "nodoc": true |
| } |
| ] |
| } |
| ] |
| } |
| ] |
| |