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

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: Updated per review 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 ef15f160fd61f3c168c61d3c443473ff9343862a..bf6286fe287b06e4bcd8ad4b28141bd5c3e3aa95 100644
--- a/sky/services/intents/intents.mojom
+++ b/sky/services/intents/intents.mojom
@@ -22,6 +22,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
@@ -29,4 +34,5 @@ struct Intent {
interface ActivityManager {
startActivity(Intent intent);
finishCurrentActivity();
+ setTaskDescription(TaskDescription description);
};

Powered by Google App Engine
This is Rietveld 408576698