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

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

Issue 10834261: Move chrome.experimental.app.onLaunched event handler to chrome.app.runtime.onLaunched. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another merge before retrying commit. Created 8 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/common/extensions/api/api.gyp ('k') | chrome/common/extensions/api/experimental_app.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
new file mode 100644
index 0000000000000000000000000000000000000000..53ed2fed2fbb41e7034a229726b06c473fb2f26a
--- /dev/null
+++ b/chrome/common/extensions/api/app_runtime.idl
@@ -0,0 +1,36 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+namespace app.runtime {
+
+ callback NullCallback = void ();
+
+ // A WebIntents intent object.
+ [inline_doc] dictionary Intent {
+ // The WebIntent being invoked.
+ DOMString action;
+
+ // The MIME type of the data.
+ DOMString type;
+
+ // Data associated with the intent.
+ any data;
+
+ // Callback to be compatible with WebIntents.
+ NullCallback postResult;
+
+ // Callback to be compatible with WebIntents.
+ NullCallback postFailure;
+ };
+
+ // Optional data for the launch.
+ [inline_doc] dictionary LaunchData {
+ Intent intent;
+ };
+
+ interface Events {
+ static void onLaunched(optional LaunchData launchData);
+ };
+
+};
« no previous file with comments | « chrome/common/extensions/api/api.gyp ('k') | chrome/common/extensions/api/experimental_app.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698