| 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/window_tree_host.h" | 9 #include "ui/aura/window_tree_host.h" |
| 10 #include "ui/views/views_export.h" | 10 #include "ui/views/views_export.h" |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 WPARAM w_param, | 203 WPARAM w_param, |
| 204 LPARAM l_param) OVERRIDE; | 204 LPARAM l_param) OVERRIDE; |
| 205 virtual void HandleMenuLoop(bool in_menu_loop) OVERRIDE; | 205 virtual void HandleMenuLoop(bool in_menu_loop) OVERRIDE; |
| 206 virtual bool PreHandleMSG(UINT message, | 206 virtual bool PreHandleMSG(UINT message, |
| 207 WPARAM w_param, | 207 WPARAM w_param, |
| 208 LPARAM l_param, | 208 LPARAM l_param, |
| 209 LRESULT* result) OVERRIDE; | 209 LRESULT* result) OVERRIDE; |
| 210 virtual void PostHandleMSG(UINT message, | 210 virtual void PostHandleMSG(UINT message, |
| 211 WPARAM w_param, | 211 WPARAM w_param, |
| 212 LPARAM l_param) OVERRIDE; | 212 LPARAM l_param) OVERRIDE; |
| 213 virtual bool HandleScrollEvent(const ui::ScrollEvent& event) OVERRIDE; |
| 213 | 214 |
| 214 Widget* GetWidget(); | 215 Widget* GetWidget(); |
| 215 const Widget* GetWidget() const; | 216 const Widget* GetWidget() const; |
| 216 HWND GetHWND() const; | 217 HWND GetHWND() const; |
| 217 | 218 |
| 218 private: | 219 private: |
| 219 void SetWindowTransparency(); | 220 void SetWindowTransparency(); |
| 220 | 221 |
| 221 // Returns true if a modal window is active in the current root window chain. | 222 // Returns true if a modal window is active in the current root window chain. |
| 222 bool IsModalWindowActive() const; | 223 bool IsModalWindowActive() const; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 bool is_cursor_visible_; | 273 bool is_cursor_visible_; |
| 273 | 274 |
| 274 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; | 275 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; |
| 275 | 276 |
| 276 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); | 277 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); |
| 277 }; | 278 }; |
| 278 | 279 |
| 279 } // namespace views | 280 } // namespace views |
| 280 | 281 |
| 281 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ | 282 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ |
| OLD | NEW |