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

Side by Side Diff: athena/system/public/system_ui.h

Issue 715053003: Introduce system_info as an independent container. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years, 1 month 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 unified diff | Download patch
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698