Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: extensions/common/api/app_view_internal.json

Issue 354483004: Implement <appview> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@app_view_skeleton
Patch Set: Fixed formatting Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/common/api/app_runtime.idl ('k') | extensions/extensions.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
+ }
+ ]
+ }
+ ]
+ }
+]
+
« no previous file with comments | « extensions/common/api/app_runtime.idl ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698