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

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

Issue 23597024: Revert 222257 "Revert 222235 ""Redirecting URLs to Packaged Apps..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 3 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: trunk/src/chrome/common/extensions/api/app_runtime.idl
===================================================================
--- trunk/src/chrome/common/extensions/api/app_runtime.idl (revision 222257)
+++ trunk/src/chrome/common/extensions/api/app_runtime.idl (working copy)
@@ -15,12 +15,26 @@
DOMString type;
};
- // Optional data for the launch.
+ // Optional data for the launch. Either <code>items</code>, or
+ // the pair (<code>url, referrerUrl</code>) can be present for any given
+ // 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 the <code>onLaunched</code> event triggered by a
+ // matching file handler in the <code>file_handlers</code> manifest key.
LaunchItem[]? items;
+
+ // The URL for the <code>onLaunched</code> event triggered by a matching
+ // URL handler in the <code>url_handlers</code> manifest key.
+ DOMString? url;
+
+ // The referrer URL for the <code>onLaunched</code> event triggered by a
+ // matching URL handler in the <code>url_handlers</code> manifest key.
+ DOMString? referrerUrl;
};
interface Events {

Powered by Google App Engine
This is Rietveld 408576698