Chromium Code Reviews| 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; |
|
asargent_no_longer_on_chrome
2013/08/14 18:05:12
We might consider wrapping these 2 together into a
sergeygs
2013/08/18 11:40:24
This would be visible on the external API side, in
|
| }; |
| interface Events { |