| 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/client/animation_host.h" | 8 #include "ui/aura/client/animation_host.h" |
| 9 #include "ui/aura/root_window_host.h" | 9 #include "ui/aura/root_window_host.h" |
| 10 #include "ui/views/views_export.h" | 10 #include "ui/views/views_export.h" |
| 11 #include "ui/views/widget/desktop_aura/desktop_root_window_host.h" | 11 #include "ui/views/widget/desktop_aura/desktop_root_window_host.h" |
| 12 #include "ui/views/win/hwnd_message_handler_delegate.h" | 12 #include "ui/views/win/hwnd_message_handler_delegate.h" |
| 13 | 13 |
| 14 namespace aura { | 14 namespace aura { |
| 15 namespace client { | 15 namespace client { |
| 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; | |
| 23 class DesktopCursorClient; | 22 class DesktopCursorClient; |
| 24 class DesktopDispatcherClient; | 23 class DesktopDispatcherClient; |
| 25 class DesktopDragDropClientWin; | 24 class DesktopDragDropClientWin; |
| 26 class HWNDMessageHandler; | 25 class HWNDMessageHandler; |
| 27 | 26 |
| 28 namespace corewm { | 27 namespace corewm { |
| 29 class CursorManager; | 28 class CursorManager; |
| 30 } | 29 } |
| 31 | 30 |
| 32 class VIEWS_EXPORT DesktopRootWindowHostWin | 31 class VIEWS_EXPORT DesktopRootWindowHostWin |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 | 207 |
| 209 private: | 208 private: |
| 210 void SetWindowTransparency(); | 209 void SetWindowTransparency(); |
| 211 | 210 |
| 212 // We are owned by the RootWindow, but we have to have a back pointer to it. | 211 // We are owned by the RootWindow, but we have to have a back pointer to it. |
| 213 aura::RootWindow* root_window_; | 212 aura::RootWindow* root_window_; |
| 214 | 213 |
| 215 scoped_ptr<HWNDMessageHandler> message_handler_; | 214 scoped_ptr<HWNDMessageHandler> message_handler_; |
| 216 scoped_ptr<DesktopDispatcherClient> dispatcher_client_; | 215 scoped_ptr<DesktopDispatcherClient> dispatcher_client_; |
| 217 scoped_ptr<aura::client::FocusClient> focus_client_; | 216 scoped_ptr<aura::client::FocusClient> focus_client_; |
| 218 // Depends on focus_manager_. | |
| 219 scoped_ptr<DesktopActivationClient> activation_client_; | |
| 220 | 217 |
| 221 // TODO(beng): Consider providing an interface to DesktopNativeWidgetAura | 218 // TODO(beng): Consider providing an interface to DesktopNativeWidgetAura |
| 222 // instead of providing this route back to Widget. | 219 // instead of providing this route back to Widget. |
| 223 internal::NativeWidgetDelegate* native_widget_delegate_; | 220 internal::NativeWidgetDelegate* native_widget_delegate_; |
| 224 | 221 |
| 225 DesktopNativeWidgetAura* desktop_native_widget_aura_; | 222 DesktopNativeWidgetAura* desktop_native_widget_aura_; |
| 226 | 223 |
| 227 aura::RootWindowHostDelegate* root_window_host_delegate_; | 224 aura::RootWindowHostDelegate* root_window_host_delegate_; |
| 228 aura::Window* content_window_; | 225 aura::Window* content_window_; |
| 229 | 226 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 257 // rather than asking the Widget for the non_client_view so that we know at | 254 // rather than asking the Widget for the non_client_view so that we know at |
| 258 // Init time, before the Widget has created the NonClientView. | 255 // Init time, before the Widget has created the NonClientView. |
| 259 bool has_non_client_view_; | 256 bool has_non_client_view_; |
| 260 | 257 |
| 261 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); | 258 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); |
| 262 }; | 259 }; |
| 263 | 260 |
| 264 } // namespace views | 261 } // namespace views |
| 265 | 262 |
| 266 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ | 263 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ |
| OLD | NEW |