| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ATHENA_SYSTEM_PUBLIC_SYSTEM_UI_H_ | 5 #ifndef ATHENA_SYSTEM_PUBLIC_SYSTEM_UI_H_ |
| 6 #define ATHENA_SYSTEM_PUBLIC_SYSTEM_UI_H_ | 6 #define ATHENA_SYSTEM_PUBLIC_SYSTEM_UI_H_ |
| 7 | 7 |
| 8 #include "athena/athena_export.h" | 8 #include "athena/athena_export.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 | 10 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 // Creates and deletes the singleton object of the SystemUI implementation. | 32 // Creates and deletes the singleton object of the SystemUI implementation. |
| 33 static SystemUI* Create(scoped_refptr<base::TaskRunner> io_task_runner); | 33 static SystemUI* Create(scoped_refptr<base::TaskRunner> io_task_runner); |
| 34 static SystemUI* Get(); | 34 static SystemUI* Get(); |
| 35 static void Shutdown(); | 35 static void Shutdown(); |
| 36 | 36 |
| 37 virtual ~SystemUI() {} | 37 virtual ~SystemUI() {} |
| 38 | 38 |
| 39 // Sets the background image. | 39 // Sets the background image. |
| 40 virtual void SetBackgroundImage(const gfx::ImageSkia& image) = 0; | 40 virtual void SetBackgroundImage(const gfx::ImageSkia& image) = 0; |
| 41 | |
| 42 // Creates a view which displays the time, status icons, and debug | |
| 43 // information. | |
| 44 virtual views::View* CreateSystemInfoView(ColorScheme color_scheme) = 0; | |
| 45 }; | 41 }; |
| 46 | 42 |
| 47 } // namespace athena | 43 } // namespace athena |
| 48 | 44 |
| 49 #endif // ATHENA_SYSTEM_PUBLIC_SYSTEM_UI_H_ | 45 #endif // ATHENA_SYSTEM_PUBLIC_SYSTEM_UI_H_ |
| OLD | NEW |