| 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_WINDOW_TREE_HOST_WIN_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
| 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
| 7 | 7 |
| 8 #include "ui/aura/window_tree_host.h" | 8 #include "ui/aura/window_tree_host.h" |
| 9 #include "ui/views/views_export.h" | 9 #include "ui/views/views_export.h" |
| 10 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h" | 10 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h" |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 Widget* GetWidget(); | 195 Widget* GetWidget(); |
| 196 const Widget* GetWidget() const; | 196 const Widget* GetWidget() const; |
| 197 HWND GetHWND() const; | 197 HWND GetHWND() const; |
| 198 | 198 |
| 199 private: | 199 private: |
| 200 void SetWindowTransparency(); | 200 void SetWindowTransparency(); |
| 201 | 201 |
| 202 // Returns true if a modal window is active in the current root window chain. | 202 // Returns true if a modal window is active in the current root window chain. |
| 203 bool IsModalWindowActive() const; | 203 bool IsModalWindowActive() const; |
| 204 | 204 |
| 205 void MaybeWaitForFrame(); |
| 206 |
| 205 scoped_ptr<HWNDMessageHandler> message_handler_; | 207 scoped_ptr<HWNDMessageHandler> message_handler_; |
| 206 scoped_ptr<aura::client::FocusClient> focus_client_; | 208 scoped_ptr<aura::client::FocusClient> focus_client_; |
| 207 | 209 |
| 208 // TODO(beng): Consider providing an interface to DesktopNativeWidgetAura | 210 // TODO(beng): Consider providing an interface to DesktopNativeWidgetAura |
| 209 // instead of providing this route back to Widget. | 211 // instead of providing this route back to Widget. |
| 210 internal::NativeWidgetDelegate* native_widget_delegate_; | 212 internal::NativeWidgetDelegate* native_widget_delegate_; |
| 211 | 213 |
| 212 DesktopNativeWidgetAura* desktop_native_widget_aura_; | 214 DesktopNativeWidgetAura* desktop_native_widget_aura_; |
| 213 | 215 |
| 214 aura::Window* content_window_; | 216 aura::Window* content_window_; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 static bool is_cursor_visible_; | 255 static bool is_cursor_visible_; |
| 254 | 256 |
| 255 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; | 257 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; |
| 256 | 258 |
| 257 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); | 259 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); |
| 258 }; | 260 }; |
| 259 | 261 |
| 260 } // namespace views | 262 } // namespace views |
| 261 | 263 |
| 262 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 264 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
| OLD | NEW |