Chromium Code Reviews| 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() { | |
|
sky
2013/02/13 14:49:44
This should be:
const DesktopNativeWidgetAura* des
ananta
2013/02/13 19:07:58
Done.
| |
| 204 return desktop_native_widget_aura_; | |
| 205 } | |
| 206 | |
| 203 private: | 207 private: |
| 204 // We are owned by the RootWindow, but we have to have a back pointer to it. | 208 // We are owned by the RootWindow, but we have to have a back pointer to it. |
| 205 aura::RootWindow* root_window_; | 209 aura::RootWindow* root_window_; |
| 206 | 210 |
| 207 scoped_ptr<HWNDMessageHandler> message_handler_; | 211 scoped_ptr<HWNDMessageHandler> message_handler_; |
| 208 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_; | 212 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_; |
| 209 scoped_ptr<DesktopDispatcherClient> dispatcher_client_; | 213 scoped_ptr<DesktopDispatcherClient> dispatcher_client_; |
| 210 scoped_ptr<aura::client::FocusClient> focus_client_; | 214 scoped_ptr<aura::client::FocusClient> focus_client_; |
| 211 // Depends on focus_manager_. | 215 // Depends on focus_manager_. |
| 212 scoped_ptr<DesktopActivationClient> activation_client_; | 216 scoped_ptr<DesktopActivationClient> activation_client_; |
| (...skipping 15 matching lines...) Expand all Loading... | |
| 228 scoped_ptr<DesktopCursorClient> cursor_client_; | 232 scoped_ptr<DesktopCursorClient> cursor_client_; |
| 229 | 233 |
| 230 scoped_ptr<DesktopDragDropClientWin> drag_drop_client_; | 234 scoped_ptr<DesktopDragDropClientWin> drag_drop_client_; |
| 231 | 235 |
| 232 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); | 236 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); |
| 233 }; | 237 }; |
| 234 | 238 |
| 235 } // namespace views | 239 } // namespace views |
| 236 | 240 |
| 237 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ | 241 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ |
| OLD | NEW |