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

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

Issue 483363003: [Athena] Add status icons and system time to the desktop background (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 0032c5483cd176e678549f285b13e71ecc6c1f4b..334acbe5d12531d6721f94dd05a714c111d9fae4 100644
--- a/athena/system/public/system_ui.h
+++ b/athena/system/public/system_ui.h
@@ -8,19 +8,36 @@
#include "athena/athena_export.h"
#include "base/memory/ref_counted.h"
+namespace aura {
+class Window;
+}
+
namespace base {
class TaskRunner;
}
+namespace views {
+class View;
+}
+
namespace athena {
class ATHENA_EXPORT SystemUI {
public:
// Creates and deletes the singleton object of the SystemUI implementation.
static SystemUI* Create(scoped_refptr<base::TaskRunner> io_task_runner);
+ static SystemUI* Get();
static void Shutdown();
virtual ~SystemUI() {}
+
+ // Creates a view which displays the time.
+ virtual views::View* CreateTimeView() = 0;
+
+ // Creates a view which displays status icons and debug information.
+ // |popup_container| is the parent window to use for the "select network"
+ // dialog.
+ virtual views::View* CreateStatusIconView(aura::Window* popup_container) = 0;
};
} // namespace athena

Powered by Google App Engine
This is Rietveld 408576698