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

Unified Diff: extensions/common/api/app_runtime.idl

Issue 460133002: Allow passing parameters within appview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed params to data Created 6 years, 4 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 | « chrome/test/data/extensions/platform_apps/app_view/shim/skeleton/main.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/api/app_runtime.idl
diff --git a/extensions/common/api/app_runtime.idl b/extensions/common/api/app_runtime.idl
index 73200e3cc71869d3e75e921ec501f45290c78e12..41ebeac743a04bf2a7a1673a663848c6986344cd 100644
--- a/extensions/common/api/app_runtime.idl
+++ b/extensions/common/api/app_runtime.idl
@@ -49,6 +49,10 @@ namespace app.runtime {
dictionary EmbedRequest {
DOMString embedderId;
+ // Optional developer specified data that the app to be embedded can use
+ // when making an embedding decision.
+ any? data;
+
// Allows <code>embedderId</code> to embed this app in an &lt;appview&gt;
// element. The <code>url</code> specifies the content to embed.
[nocompile] static void allow(DOMString url);
« no previous file with comments | « chrome/test/data/extensions/platform_apps/app_view/shim/skeleton/main.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698