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_ROOT_WINDOW_HOST_WIN_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ |
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ |
7 | 7 |
8 #include "ui/aura/root_window_host.h" | 8 #include "ui/aura/root_window_host.h" |
9 #include "ui/views/views_export.h" | 9 #include "ui/views/views_export.h" |
10 #include "ui/views/widget/desktop_aura/desktop_root_window_host.h" | 10 #include "ui/views/widget/desktop_aura/desktop_root_window_host.h" |
11 #include "ui/views/win/hwnd_message_handler_delegate.h" | 11 #include "ui/views/win/hwnd_message_handler_delegate.h" |
12 | 12 |
13 namespace aura { | 13 namespace aura { |
14 namespace client { | 14 namespace client { |
15 class DefaultCaptureClient; | 15 class DefaultCaptureClient; |
16 class FocusClient; | 16 class FocusClient; |
17 class ScreenPositionClient; | 17 class ScreenPositionClient; |
18 } | 18 } |
19 } | 19 } |
20 | 20 |
21 namespace views { | 21 namespace views { |
22 class DesktopActivationClient; | 22 class DesktopActivationClient; |
23 class DesktopCursorClient; | 23 class DesktopCursorClient; |
24 class DesktopDispatcherClient; | 24 class DesktopDispatcherClient; |
| 25 class DesktopDragDropClientWin; |
25 class HWNDMessageHandler; | 26 class HWNDMessageHandler; |
26 | 27 |
27 class VIEWS_EXPORT DesktopRootWindowHostWin | 28 class VIEWS_EXPORT DesktopRootWindowHostWin |
28 : public DesktopRootWindowHost, | 29 : public DesktopRootWindowHost, |
29 public aura::RootWindowHost, | 30 public aura::RootWindowHost, |
30 public HWNDMessageHandlerDelegate { | 31 public HWNDMessageHandlerDelegate { |
31 public: | 32 public: |
32 DesktopRootWindowHostWin( | 33 DesktopRootWindowHostWin( |
33 internal::NativeWidgetDelegate* native_widget_delegate, | 34 internal::NativeWidgetDelegate* native_widget_delegate, |
34 DesktopNativeWidgetAura* desktop_native_widget_aura, | 35 DesktopNativeWidgetAura* desktop_native_widget_aura, |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 aura::RootWindowHostDelegate* root_window_host_delegate_; | 218 aura::RootWindowHostDelegate* root_window_host_delegate_; |
218 aura::Window* content_window_; | 219 aura::Window* content_window_; |
219 | 220 |
220 // In some cases, we set a screen position client on |root_window_|. If we | 221 // In some cases, we set a screen position client on |root_window_|. If we |
221 // do, we're responsible for the lifetime. | 222 // do, we're responsible for the lifetime. |
222 scoped_ptr<aura::client::ScreenPositionClient> position_client_; | 223 scoped_ptr<aura::client::ScreenPositionClient> position_client_; |
223 | 224 |
224 // A simple cursor client which just forwards events to the RootWindow. | 225 // A simple cursor client which just forwards events to the RootWindow. |
225 scoped_ptr<DesktopCursorClient> cursor_client_; | 226 scoped_ptr<DesktopCursorClient> cursor_client_; |
226 | 227 |
| 228 scoped_ptr<DesktopDragDropClientWin> drag_drop_client_; |
| 229 |
227 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); | 230 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); |
228 }; | 231 }; |
229 | 232 |
230 } // namespace views | 233 } // namespace views |
231 | 234 |
232 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ | 235 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ |
OLD | NEW |