| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 VIEWS_DESKTOP_DESKTOP_WINDOW_VIEW_H_ | 5 #ifndef VIEWS_DESKTOP_DESKTOP_WINDOW_VIEW_H_ |
| 6 #define VIEWS_DESKTOP_DESKTOP_WINDOW_VIEW_H_ | 6 #define VIEWS_DESKTOP_DESKTOP_WINDOW_VIEW_H_ |
| 7 | 7 |
| 8 #include "base/observer_list.h" | 8 #include "base/observer_list.h" |
| 9 #include "ui/gfx/compositor/layer_animation_observer.h" | 9 #include "ui/gfx/compositor/layer_animation_observer.h" |
| 10 #include "views/view.h" | 10 #include "views/view.h" |
| 11 #include "views/widget/widget_delegate.h" | 11 #include "views/widget/widget_delegate.h" |
| 12 | 12 |
| 13 namespace ui { | 13 namespace ui { |
| 14 class LayerAnimationSequence; | 14 class LayerAnimationSequence; |
| 15 } // namespace ui | 15 } // namespace ui |
| 16 | 16 |
| 17 namespace views { | 17 namespace views { |
| 18 class NativeWidgetViews; | 18 |
| 19 class Widget; | 19 class Widget; |
| 20 | 20 |
| 21 namespace desktop { | 21 namespace desktop { |
| 22 | 22 |
| 23 class DesktopWindowView : public WidgetDelegateView, | 23 class DesktopWindowView : public WidgetDelegateView, |
| 24 public ui::LayerAnimationObserver { | 24 public ui::LayerAnimationObserver { |
| 25 public: | 25 public: |
| 26 // Observers can listen to various events on the desktop. | 26 // Observers can listen to various events on the desktop. |
| 27 class Observer { | 27 class Observer { |
| 28 public: | 28 public: |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 DesktopType type_; | 91 DesktopType type_; |
| 92 Widget* widget_; | 92 Widget* widget_; |
| 93 | 93 |
| 94 DISALLOW_COPY_AND_ASSIGN(DesktopWindowView); | 94 DISALLOW_COPY_AND_ASSIGN(DesktopWindowView); |
| 95 }; | 95 }; |
| 96 | 96 |
| 97 } // namespace desktop | 97 } // namespace desktop |
| 98 } // namespace views | 98 } // namespace views |
| 99 | 99 |
| 100 #endif // VIEWS_DESKTOP_DESKTOP_WINDOW_VIEW_H_ | 100 #endif // VIEWS_DESKTOP_DESKTOP_WINDOW_VIEW_H_ |
| OLD | NEW |