| 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" |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 LPARAM l_param, | 193 LPARAM l_param, |
| 194 LRESULT* result) OVERRIDE; | 194 LRESULT* result) OVERRIDE; |
| 195 virtual void PostHandleMSG(UINT message, | 195 virtual void PostHandleMSG(UINT message, |
| 196 WPARAM w_param, | 196 WPARAM w_param, |
| 197 LPARAM l_param) OVERRIDE; | 197 LPARAM l_param) OVERRIDE; |
| 198 | 198 |
| 199 Widget* GetWidget(); | 199 Widget* GetWidget(); |
| 200 const Widget* GetWidget() const; | 200 const Widget* GetWidget() const; |
| 201 HWND GetHWND() const; | 201 HWND GetHWND() const; |
| 202 | 202 |
| 203 const DesktopNativeWidgetAura* desktop_native_widget_aura() const { | |
| 204 return desktop_native_widget_aura_; | |
| 205 } | |
| 206 | |
| 207 private: | 203 private: |
| 208 // We are owned by the RootWindow, but we have to have a back pointer to it. | 204 // We are owned by the RootWindow, but we have to have a back pointer to it. |
| 209 aura::RootWindow* root_window_; | 205 aura::RootWindow* root_window_; |
| 210 | 206 |
| 211 scoped_ptr<HWNDMessageHandler> message_handler_; | 207 scoped_ptr<HWNDMessageHandler> message_handler_; |
| 212 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_; | 208 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_; |
| 213 scoped_ptr<DesktopDispatcherClient> dispatcher_client_; | 209 scoped_ptr<DesktopDispatcherClient> dispatcher_client_; |
| 214 scoped_ptr<aura::client::FocusClient> focus_client_; | 210 scoped_ptr<aura::client::FocusClient> focus_client_; |
| 215 // Depends on focus_manager_. | 211 // Depends on focus_manager_. |
| 216 scoped_ptr<DesktopActivationClient> activation_client_; | 212 scoped_ptr<DesktopActivationClient> activation_client_; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 232 scoped_ptr<DesktopCursorClient> cursor_client_; | 228 scoped_ptr<DesktopCursorClient> cursor_client_; |
| 233 | 229 |
| 234 scoped_ptr<DesktopDragDropClientWin> drag_drop_client_; | 230 scoped_ptr<DesktopDragDropClientWin> drag_drop_client_; |
| 235 | 231 |
| 236 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); | 232 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); |
| 237 }; | 233 }; |
| 238 | 234 |
| 239 } // namespace views | 235 } // namespace views |
| 240 | 236 |
| 241 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ | 237 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ |
| OLD | NEW |