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

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
« no previous file with comments | « athena/system/background_controller.cc ('k') | athena/system/status_icon_container_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..09da12711878c2c0dbd1ee376919d984c65153db 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();
@@ -34,11 +39,9 @@ class ATHENA_EXPORT SystemUI {
// Sets the background image.
virtual void SetBackgroundImage(const gfx::ImageSkia& image) = 0;
- // Creates a view which displays the time.
- virtual views::View* CreateTimeView() = 0;
-
- // Creates a view which displays status icons and debug information.
- virtual views::View* CreateStatusIconView() = 0;
+ // Creates a view which displays the time, status icons, and debug
+ // information.
+ virtual views::View* CreateSystemInfoView(ColorScheme color_scheme) = 0;
};
} // namespace athena
« no previous file with comments | « athena/system/background_controller.cc ('k') | athena/system/status_icon_container_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698