| 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/macros.h" |
| 9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 10 #include "ui/aura/client/focus_change_observer.h" | 10 #include "ui/aura/client/focus_change_observer.h" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 class ShadowController; | 35 class ShadowController; |
| 36 class VisibilityController; | 36 class VisibilityController; |
| 37 class WindowModalityController; | 37 class WindowModalityController; |
| 38 } | 38 } |
| 39 | 39 |
| 40 namespace views { | 40 namespace views { |
| 41 namespace corewm { | 41 namespace corewm { |
| 42 class TooltipController; | 42 class TooltipController; |
| 43 } | 43 } |
| 44 class DesktopCaptureClient; | 44 class DesktopCaptureClient; |
| 45 class DesktopDispatcherClient; | |
| 46 class DesktopEventClient; | 45 class DesktopEventClient; |
| 47 class DesktopNativeCursorManager; | 46 class DesktopNativeCursorManager; |
| 48 class DesktopWindowTreeHost; | 47 class DesktopWindowTreeHost; |
| 49 class DropHelper; | 48 class DropHelper; |
| 50 class FocusManagerEventHandler; | 49 class FocusManagerEventHandler; |
| 51 class TooltipManagerAura; | 50 class TooltipManagerAura; |
| 52 class WindowReorderer; | 51 class WindowReorderer; |
| 53 | 52 |
| 54 class VIEWS_EXPORT DesktopNativeWidgetAura | 53 class VIEWS_EXPORT DesktopNativeWidgetAura |
| 55 : public internal::NativeWidgetPrivate, | 54 : public internal::NativeWidgetPrivate, |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 aura::Window* content_window_container_; | 248 aura::Window* content_window_container_; |
| 250 | 249 |
| 251 // Child of |content_window_container_|. This is the return value from | 250 // Child of |content_window_container_|. This is the return value from |
| 252 // GetNativeView(). | 251 // GetNativeView(). |
| 253 // WARNING: this may be NULL, in particular during shutdown it becomes NULL. | 252 // WARNING: this may be NULL, in particular during shutdown it becomes NULL. |
| 254 aura::Window* content_window_; | 253 aura::Window* content_window_; |
| 255 | 254 |
| 256 internal::NativeWidgetDelegate* native_widget_delegate_; | 255 internal::NativeWidgetDelegate* native_widget_delegate_; |
| 257 | 256 |
| 258 scoped_ptr<wm::FocusController> focus_client_; | 257 scoped_ptr<wm::FocusController> focus_client_; |
| 259 scoped_ptr<DesktopDispatcherClient> dispatcher_client_; | |
| 260 scoped_ptr<aura::client::ScreenPositionClient> position_client_; | 258 scoped_ptr<aura::client::ScreenPositionClient> position_client_; |
| 261 scoped_ptr<aura::client::DragDropClient> drag_drop_client_; | 259 scoped_ptr<aura::client::DragDropClient> drag_drop_client_; |
| 262 scoped_ptr<aura::client::WindowTreeClient> window_tree_client_; | 260 scoped_ptr<aura::client::WindowTreeClient> window_tree_client_; |
| 263 scoped_ptr<DesktopEventClient> event_client_; | 261 scoped_ptr<DesktopEventClient> event_client_; |
| 264 scoped_ptr<FocusManagerEventHandler> focus_manager_event_handler_; | 262 scoped_ptr<FocusManagerEventHandler> focus_manager_event_handler_; |
| 265 | 263 |
| 266 // Toplevel event filter which dispatches to other event filters. | 264 // Toplevel event filter which dispatches to other event filters. |
| 267 scoped_ptr<wm::CompoundEventFilter> root_window_event_filter_; | 265 scoped_ptr<wm::CompoundEventFilter> root_window_event_filter_; |
| 268 | 266 |
| 269 scoped_ptr<DropHelper> drop_helper_; | 267 scoped_ptr<DropHelper> drop_helper_; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 // The following factory is used for calls to close the NativeWidgetAura | 300 // The following factory is used for calls to close the NativeWidgetAura |
| 303 // instance. | 301 // instance. |
| 304 base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_; | 302 base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_; |
| 305 | 303 |
| 306 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); | 304 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); |
| 307 }; | 305 }; |
| 308 | 306 |
| 309 } // namespace views | 307 } // namespace views |
| 310 | 308 |
| 311 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 309 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
| OLD | NEW |