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

Unified Diff: athena/system/public/system_ui.h

Issue 483033003: [Athena] Add status icons and system time to the centered home card (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 3 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: athena/system/public/system_ui.h
diff --git a/athena/system/public/system_ui.h b/athena/system/public/system_ui.h
index 4cd04d02106b3a7a6a47689066275d3dace3047f..61357b1ddb4618ba6883568aadedd5acc8fdd91c 100644
--- a/athena/system/public/system_ui.h
+++ b/athena/system/public/system_ui.h
@@ -24,6 +24,11 @@ namespace athena {
class ATHENA_EXPORT SystemUI {
public:
+ enum ColorScheme {
+ COLOR_SCHEME_LIGHT,
+ COLOR_SCHEME_DARK
+ };
+
// Creates and deletes the singleton object of the SystemUI implementation.
static SystemUI* Create(scoped_refptr<base::TaskRunner> io_task_runner);
static SystemUI* Get();
@@ -35,10 +40,10 @@ class ATHENA_EXPORT SystemUI {
virtual void SetBackgroundImage(const gfx::ImageSkia& image) = 0;
// Creates a view which displays the time.
- virtual views::View* CreateTimeView() = 0;
+ virtual views::View* CreateTimeView(ColorScheme color_scheme) = 0;
// Creates a view which displays status icons and debug information.
- virtual views::View* CreateStatusIconView() = 0;
+ virtual views::View* CreateStatusIconView(ColorScheme color_scheme) = 0;
};
} // namespace athena

Powered by Google App Engine
This is Rietveld 408576698