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

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

Issue 22944002: Implementation of the "Redirect URLs to Packaged Apps" feature. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review comments + lint errors Created 7 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
Index: chrome/common/extensions/api/app_runtime.idl
diff --git a/chrome/common/extensions/api/app_runtime.idl b/chrome/common/extensions/api/app_runtime.idl
index 391adaa80b9393334939fb27f8af9ef7c0529b68..2cbbefe4046154a8280b5e6b5c12147c03221bc9 100644
--- a/chrome/common/extensions/api/app_runtime.idl
+++ b/chrome/common/extensions/api/app_runtime.idl
@@ -14,10 +14,22 @@ namespace app.runtime {
// Optional data for the launch.
[inline_doc] dictionary LaunchData {
- // The id of the file handler that the app is being invoked with.
+ // The ID of the file or URL handler that the app is being invoked with.
+ // Handler IDs are the top-level keys in the <code>file_handlers</code>
+ // and/or <code>url_handlers</code> dictionaries in the manifest.
DOMString? id;
+ // The file entries for <code>onLaunched</code> triggered by a matching
+ // file handler from the <code>file_handlers</code> manifest key.
LaunchItem[]? items;
+
+ // The URL for <code>onLaunched</code> triggered by a matching URL handler
+ // from the <code>url_handlers</code> manifest key.
benwells 2013/08/30 05:41:39 Can you foresee a need to send through multiple UR
sergeygs 2013/09/02 07:36:22 I really do not foresee such a need, at least not
+ DOMString? url;
+
+ // The referrer URL for <code>onLaunched</code> triggered by a matching
+ // URL handler from the <code>url_handlers</code> manifest key.
+ DOMString? referrerUrl;
};
interface Events {

Powered by Google App Engine
This is Rietveld 408576698