OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef ASH_WM_WORKSPACE_SYSTEM_BACKGROUND_CONTROLLER_H_ | |
6 #define ASH_WM_WORKSPACE_SYSTEM_BACKGROUND_CONTROLLER_H_ | |
7 | |
8 #include "ash/ash_export.h" | |
9 #include "base/basictypes.h" | |
10 | |
11 namespace aura { | |
12 class RootWindow; | |
13 }; | |
14 | |
15 namespace ash { | |
16 namespace internal { | |
17 | |
18 // SystemBackgroundController shows the system level background. | |
Ben Goodger (Google)
2012/08/27 15:50:47
Maybe explain here too what a system background is
| |
19 class ASH_EXPORT SystemBackgroundController { | |
20 public: | |
21 explicit SystemBackgroundController(aura::RootWindow* root); | |
22 ~SystemBackgroundController(); | |
23 | |
24 private: | |
25 class View; | |
26 | |
27 // View responsible for rendering the background. This is non-NULL if the | |
28 // widget containing it is deleted. It is owned by the widget. | |
29 View* view_; | |
30 | |
31 DISALLOW_COPY_AND_ASSIGN(SystemBackgroundController); | |
32 }; | |
33 | |
34 } // namespace internal | |
35 } // namespace ash | |
36 | |
37 #endif // ASH_WM_WORKSPACE_SYSTEM_BACKGROUND_CONTROLLER_H_ | |
OLD | NEW |