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/macros.h" |
8 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
9 #include "ui/aura/client/focus_change_observer.h" | 10 #include "ui/aura/client/focus_change_observer.h" |
10 #include "ui/aura/window_delegate.h" | 11 #include "ui/aura/window_delegate.h" |
11 #include "ui/aura/window_tree_host_observer.h" | 12 #include "ui/aura/window_tree_host_observer.h" |
12 #include "ui/base/cursor/cursor.h" | 13 #include "ui/base/cursor/cursor.h" |
13 #include "ui/views/widget/native_widget_private.h" | 14 #include "ui/views/widget/native_widget_private.h" |
14 #include "ui/wm/core/compound_event_filter.h" | 15 #include "ui/wm/core/compound_event_filter.h" |
15 #include "ui/wm/public/activation_change_observer.h" | 16 #include "ui/wm/public/activation_change_observer.h" |
16 #include "ui/wm/public/activation_delegate.h" | 17 #include "ui/wm/public/activation_delegate.h" |
17 #include "ui/wm/public/drag_drop_delegate.h" | 18 #include "ui/wm/public/drag_drop_delegate.h" |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 // The following factory is used for calls to close the NativeWidgetAura | 301 // The following factory is used for calls to close the NativeWidgetAura |
301 // instance. | 302 // instance. |
302 base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_; | 303 base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_; |
303 | 304 |
304 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); | 305 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); |
305 }; | 306 }; |
306 | 307 |
307 } // namespace views | 308 } // namespace views |
308 | 309 |
309 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 310 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
OLD | NEW |