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

Unified Diff: sky/services/intents/intents.mojom

Issue 1209423008: Make the TaskDescription background color match the ToolBar on Android (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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: sky/services/intents/intents.mojom
diff --git a/sky/services/intents/intents.mojom b/sky/services/intents/intents.mojom
index 6e48dd9dd811e013119938ee8574371969c5ba96..09435ec831f035d1f008d16e05f19205e76a422d 100644
--- a/sky/services/intents/intents.mojom
+++ b/sky/services/intents/intents.mojom
@@ -21,6 +21,11 @@ struct Intent {
array<StringExtra>? string_extras;
};
+struct TaskDescription {
+ string? label;
+ uint32 primaryColor;
+};
+
// TODO(abarth): This interface seems very specific to Android. Do we want to
// have a higher-level abstraction here? Do we want a collection
// of services that only work on specific platforms? We need to
@@ -28,4 +33,5 @@ struct Intent {
interface ActivityManager {
startActivity(Intent intent);
finishCurrentActivity();
+ setTaskDescription(TaskDescription description);
};

Powered by Google App Engine
This is Rietveld 408576698