OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 CHROME_BROWSER_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 5 #ifndef CHROME_BROWSER_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
6 #define CHROME_BROWSER_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 6 #define CHROME_BROWSER_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
7 | 7 |
8 #include <atlbase.h> | 8 #include <atlbase.h> |
9 #include <atlapp.h> | 9 #include <atlapp.h> |
10 #include <atlcrack.h> | 10 #include <atlcrack.h> |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 LRESULT SynthesizeMouseWheel(bool is_vertical, int scroll_code, | 205 LRESULT SynthesizeMouseWheel(bool is_vertical, int scroll_code, |
206 short scroll_position); | 206 short scroll_position); |
207 | 207 |
208 // Shuts down the render_widget_host_. This is a separate function so we can | 208 // Shuts down the render_widget_host_. This is a separate function so we can |
209 // invoke it from the message loop. | 209 // invoke it from the message loop. |
210 void ShutdownHost(); | 210 void ShutdownHost(); |
211 | 211 |
212 // The associated Model. | 212 // The associated Model. |
213 RenderWidgetHost* render_widget_host_; | 213 RenderWidgetHost* render_widget_host_; |
214 | 214 |
215 // The cursor for the page. This is passed up from the renderer. | 215 // The cursor for the page. This is passed up from the renderer. |
216 HCURSOR cursor_; | 216 WebCursor current_cursor_; |
217 | |
218 // True if cursor_ is a custom cursor that needs to be destroyed later. | |
219 bool cursor_is_custom_; | |
220 | 217 |
221 // Indicates if the page is loading. | 218 // Indicates if the page is loading. |
222 bool is_loading_; | 219 bool is_loading_; |
223 | 220 |
224 // true if we are currently tracking WM_MOUSEEXIT messages. | 221 // true if we are currently tracking WM_MOUSEEXIT messages. |
225 bool track_mouse_leave_; | 222 bool track_mouse_leave_; |
226 | 223 |
227 // Wrapper class for IME input. | 224 // Wrapper class for IME input. |
228 // (See "chrome/browser/ime_input.h" for its details.) | 225 // (See "chrome/browser/ime_input.h" for its details.) |
229 ImeInput ime_input_; | 226 ImeInput ime_input_; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 // Whether the renderer is made accessible. | 269 // Whether the renderer is made accessible. |
273 // TODO(jcampan): http://b/issue?id=1432077 This is a temporary work-around | 270 // TODO(jcampan): http://b/issue?id=1432077 This is a temporary work-around |
274 // until that bug is fixed. | 271 // until that bug is fixed. |
275 bool renderer_accessible_; | 272 bool renderer_accessible_; |
276 | 273 |
277 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 274 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
278 }; | 275 }; |
279 | 276 |
280 #endif // #ifndef CHROME_BROWSER_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 277 #endif // #ifndef CHROME_BROWSER_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
281 | 278 |
OLD | NEW |