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 UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
7 | 7 |
8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
9 #include "ui/aura/client/activation_change_observer.h" | 9 #include "ui/aura/client/activation_change_observer.h" |
10 #include "ui/aura/client/activation_delegate.h" | 10 #include "ui/aura/client/activation_delegate.h" |
(...skipping 19 matching lines...) Expand all Loading... |
30 class TooltipController; | 30 class TooltipController; |
31 class VisibilityController; | 31 class VisibilityController; |
32 class WindowModalityController; | 32 class WindowModalityController; |
33 } | 33 } |
34 | 34 |
35 class DesktopRootWindowHost; | 35 class DesktopRootWindowHost; |
36 class DropHelper; | 36 class DropHelper; |
37 class NativeWidgetAuraWindowObserver; | 37 class NativeWidgetAuraWindowObserver; |
38 class TooltipManagerAura; | 38 class TooltipManagerAura; |
39 | 39 |
40 // TODO(erg): May also need to be a DragDropDelegate | |
41 class VIEWS_EXPORT DesktopNativeWidgetAura | 40 class VIEWS_EXPORT DesktopNativeWidgetAura |
42 : public internal::NativeWidgetPrivate, | 41 : public internal::NativeWidgetPrivate, |
43 public aura::WindowDelegate, | 42 public aura::WindowDelegate, |
44 public aura::client::ActivationDelegate, | 43 public aura::client::ActivationDelegate, |
45 public aura::client::ActivationChangeObserver, | 44 public aura::client::ActivationChangeObserver, |
46 public aura::client::FocusChangeObserver, | 45 public aura::client::FocusChangeObserver, |
47 public views::internal::InputMethodDelegate, | 46 public views::internal::InputMethodDelegate, |
48 public aura::client::DragDropDelegate { | 47 public aura::client::DragDropDelegate { |
49 public: | 48 public: |
50 explicit DesktopNativeWidgetAura(internal::NativeWidgetDelegate* delegate); | 49 explicit DesktopNativeWidgetAura(internal::NativeWidgetDelegate* delegate); |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 bool restore_focus_on_activate_; | 238 bool restore_focus_on_activate_; |
240 | 239 |
241 scoped_ptr<corewm::ShadowController> shadow_controller_; | 240 scoped_ptr<corewm::ShadowController> shadow_controller_; |
242 | 241 |
243 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); | 242 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); |
244 }; | 243 }; |
245 | 244 |
246 } // namespace views | 245 } // namespace views |
247 | 246 |
248 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 247 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
OLD | NEW |