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" |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 virtual void HandleTooltipMouseMove(UINT message, | 202 virtual void HandleTooltipMouseMove(UINT message, |
203 WPARAM w_param, | 203 WPARAM w_param, |
204 LPARAM l_param) OVERRIDE; | 204 LPARAM l_param) OVERRIDE; |
205 virtual bool PreHandleMSG(UINT message, | 205 virtual bool PreHandleMSG(UINT message, |
206 WPARAM w_param, | 206 WPARAM w_param, |
207 LPARAM l_param, | 207 LPARAM l_param, |
208 LRESULT* result) OVERRIDE; | 208 LRESULT* result) OVERRIDE; |
209 virtual void PostHandleMSG(UINT message, | 209 virtual void PostHandleMSG(UINT message, |
210 WPARAM w_param, | 210 WPARAM w_param, |
211 LPARAM l_param) OVERRIDE; | 211 LPARAM l_param) OVERRIDE; |
| 212 virtual bool HandleScrollEvent(const ui::ScrollEvent& event) OVERRIDE; |
212 | 213 |
213 Widget* GetWidget(); | 214 Widget* GetWidget(); |
214 const Widget* GetWidget() const; | 215 const Widget* GetWidget() const; |
215 HWND GetHWND() const; | 216 HWND GetHWND() const; |
216 | 217 |
217 private: | 218 private: |
218 void SetWindowTransparency(); | 219 void SetWindowTransparency(); |
219 | 220 |
220 // Returns true if a modal window is active in the current root window chain. | 221 // Returns true if a modal window is active in the current root window chain. |
221 bool IsModalWindowActive() const; | 222 bool IsModalWindowActive() const; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 | 271 |
271 // State of the cursor. | 272 // State of the cursor. |
272 bool is_cursor_visible_; | 273 bool is_cursor_visible_; |
273 | 274 |
274 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); | 275 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); |
275 }; | 276 }; |
276 | 277 |
277 } // namespace views | 278 } // namespace views |
278 | 279 |
279 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ | 280 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ |
OLD | NEW |