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

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: 1) Fixed broken redirection for in-page WebKit-initiated navigations. All redirections work now. 2)… 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..e799c54113fd5f757e3d08bd6afb07bd1be2d7f3 100644
--- a/chrome/common/extensions/api/app_runtime.idl
+++ b/chrome/common/extensions/api/app_runtime.idl
@@ -14,10 +14,17 @@ 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.
DOMString? id;
+ // Option 1: the file enries for onLaunched corresponding to a file
+ // handler (file_handlers in the manifest).
LaunchItem[]? items;
+
+ // Option 2: the URL and referrer's URL for onLaunched corresponding to
+ // a URL handler (url_handlers in the manifest).
+ DOMString? url;
+ DOMString? referrerUrl;
not at google - send to devlin 2013/08/19 23:32:24 The docs are going to be generated by this; number
sergeygs 2013/08/29 08:24:42 Done.
};
interface Events {

Powered by Google App Engine
This is Rietveld 408576698