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

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..4cd04d02106b3a7a6a47689066275d3dace3047f 100644
--- a/athena/system/public/system_ui.h
+++ b/athena/system/public/system_ui.h
@@ -12,15 +12,33 @@ namespace base {
class TaskRunner;
}
+namespace gfx {
+class ImageSkia;
+}
+
+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() {}
+
+ // 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;
};
} // namespace athena

Powered by Google App Engine
This is Rietveld 408576698