Index: extensions/common/api/app_view_internal.json |
diff --git a/extensions/common/api/app_view_internal.json b/extensions/common/api/app_view_internal.json |
new file mode 100644 |
index 0000000000000000000000000000000000000000..dc8e2254a308610f25484c30f7623f7b92dc7e41 |
--- /dev/null |
+++ b/extensions/common/api/app_view_internal.json |
@@ -0,0 +1,56 @@ |
+// 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 |
+ } |
+ ] |
+ } |
+ ] |
+ } |
+] |
+ |