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

Unified Diff: components/arc/common/intent_helper.mojom

Issue 2396633002: arc: Add action to IntentHandlerInfo and rename enum fields. (Closed)
Patch Set: Created 4 years, 2 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/browser/chromeos/file_manager/arc_file_tasks.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/common/intent_helper.mojom
diff --git a/components/arc/common/intent_helper.mojom b/components/arc/common/intent_helper.mojom
index 2b60a9e2bd089d651259c53bf19fc5fc5a80d5a8..05bf9ca0a3df2217ee8927c475e108608208a253 100644
--- a/components/arc/common/intent_helper.mojom
+++ b/components/arc/common/intent_helper.mojom
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
-// Next MinVersion: 11
+// Next MinVersion: 12
module arc.mojom;
@@ -46,8 +46,9 @@ struct IntentHandlerInfo {
string name;
string package_name;
string activity_name; // A hint for retrieving the package's icon.
- [MinVersion=4] ActionType action;
+ [MinVersion=4] ActionType action_type;
[MinVersion=6] bool is_preferred;
+ [MinVersion=11] string? action; // e.g. "android.intent.action.VIEW"
dcheng 2016/10/04 22:29:11 How will this field be used?
Daniel Erat 2016/10/04 22:43:22 i can document it in a comment if that'd be better
dcheng 2016/10/04 22:49:41 Usually, it's preferred to land this sort of chang
Daniel Erat 2016/10/04 22:57:35 got it. yeah, chrome can't use this until the andr
};
// Describes an activity.
@@ -112,12 +113,12 @@ interface IntentHelperInstance {
// Handles the list of URLs by sending a specified intent to the handler.
[MinVersion=5] HandleUrlList@7(array<UrlWithMimeType> urls,
ActivityName activity,
- ActionType action);
+ ActionType action_type);
// Deprecated. Use HandleUrlList.
[MinVersion=4] HandleUrlListDeprecated@5(array<UrlWithMimeType> urls,
string package_name,
- ActionType action);
+ ActionType action_type);
// Establishes full-duplex communication with the host.
Init@0(IntentHelperHost host_ptr);
« no previous file with comments | « chrome/browser/chromeos/file_manager/arc_file_tasks.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698