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. See |
| 19 // kShellWindowId_SystemBackgroundContainer for a description of the system |
| 20 // level background. |
| 21 class ASH_EXPORT SystemBackgroundController { |
| 22 public: |
| 23 explicit SystemBackgroundController(aura::RootWindow* root); |
| 24 ~SystemBackgroundController(); |
| 25 |
| 26 private: |
| 27 class View; |
| 28 |
| 29 // View responsible for rendering the background. This is non-NULL if the |
| 30 // widget containing it is deleted. It is owned by the widget. |
| 31 View* view_; |
| 32 |
| 33 DISALLOW_COPY_AND_ASSIGN(SystemBackgroundController); |
| 34 }; |
| 35 |
| 36 } // namespace internal |
| 37 } // namespace ash |
| 38 |
| 39 #endif // ASH_WM_WORKSPACE_SYSTEM_BACKGROUND_CONTROLLER_H_ |
OLD | NEW |