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

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

Issue 12225076: Delete most web intents code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 10 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/content_settings_types.h ('k') | chrome/common/pref_names.h » ('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
index e63dc5b471b367726ce0b03b23f5c8841cfdf899..391adaa80b9393334939fb27f8af9ef7c0529b68 100644
--- a/chrome/common/extensions/api/app_runtime.idl
+++ b/chrome/common/extensions/api/app_runtime.idl
@@ -4,26 +4,6 @@
namespace app.runtime {
- callback NullCallback = void ();
-
- // A WebIntents intent object. Deprecated.
- [nodoc] 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;
- };
-
[inline_doc] dictionary LaunchItem {
// FileEntry for the file.
[instanceOf=FileEntry] object entry;
@@ -34,8 +14,6 @@ namespace app.runtime {
// Optional data for the launch.
[inline_doc] dictionary LaunchData {
- [nodoc] Intent intent;
-
// The id of the file handler that the app is being invoked with.
DOMString? id;
@@ -43,30 +21,11 @@ namespace app.runtime {
};
interface Events {
- // Fired when an app is launched from the launcher or in response to a web
- // intent.
+ // Fired when an app is launched from the launcher.
static void onLaunched(optional LaunchData launchData);
// Fired at Chrome startup to apps that were running when Chrome last shut
// down.
static void onRestarted();
};
-
- dictionary IntentResponse {
- // Identifies the intent.
- long intentId;
-
- // Was this intent successful? (i.e., postSuccess vs postFailure).
- boolean success;
-
- // Data associated with the intent response.
- any data;
- };
-
- interface Functions {
- // postIntentResponse is an internal method to responds to an intent
- // previously sent to a packaged app. This is identified by intentId, and
- // should only be invoked at most once per intentId.
- [nodoc] static void postIntentResponse(IntentResponse intentResponse);
- };
};
« no previous file with comments | « chrome/common/content_settings_types.h ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698