OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_WIDGET_CONTROLLER_H_ | 5 #ifndef ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_WIDGET_CONTROLLER_H_ |
6 #define ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_WIDGET_CONTROLLER_H_ | 6 #define ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_WIDGET_CONTROLLER_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
10 #include "ui/aura/window.h" | 11 #include "ui/aura/window.h" |
11 #include "ui/compositor/layer.h" | 12 #include "ui/compositor/layer.h" |
12 #include "ui/views/widget/widget.h" | 13 #include "ui/views/widget/widget.h" |
13 #include "ui/views/widget/widget_observer.h" | 14 #include "ui/views/widget/widget_observer.h" |
14 | 15 |
15 namespace ash { | 16 namespace ash { |
16 class RootWindowController; | 17 class RootWindowController; |
17 | 18 |
18 // This class implements a widget-based wallpaper. | 19 // This class implements a widget-based wallpaper. |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 85 |
85 private: | 86 private: |
86 scoped_ptr<DesktopBackgroundWidgetController> controller_; | 87 scoped_ptr<DesktopBackgroundWidgetController> controller_; |
87 | 88 |
88 DISALLOW_COPY_AND_ASSIGN(AnimatingDesktopController); | 89 DISALLOW_COPY_AND_ASSIGN(AnimatingDesktopController); |
89 }; | 90 }; |
90 | 91 |
91 } // namespace ash | 92 } // namespace ash |
92 | 93 |
93 #endif // ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_WIDGET_CONTROLLER_H_ | 94 #endif // ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_WIDGET_CONTROLLER_H_ |
OLD | NEW |