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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 void ResetTooltip(); | 202 void ResetTooltip(); |
203 | 203 |
204 // Synthesize mouse wheel event. | 204 // Synthesize mouse wheel event. |
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 // Redraws the window synchronously, and any child windows (i.e. plugins) |
| 213 // asynchronously. |
| 214 void Redraw(const gfx::Rect& invalid_rect); |
| 215 |
212 // The associated Model. | 216 // The associated Model. |
213 RenderWidgetHost* render_widget_host_; | 217 RenderWidgetHost* render_widget_host_; |
214 | 218 |
215 // The cursor for the page. This is passed up from the renderer. | 219 // The cursor for the page. This is passed up from the renderer. |
216 WebCursor current_cursor_; | 220 WebCursor current_cursor_; |
217 | 221 |
218 // Indicates if the page is loading. | 222 // Indicates if the page is loading. |
219 bool is_loading_; | 223 bool is_loading_; |
220 | 224 |
221 // true if we are currently tracking WM_MOUSEEXIT messages. | 225 // true if we are currently tracking WM_MOUSEEXIT messages. |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 // Whether the renderer is made accessible. | 274 // Whether the renderer is made accessible. |
271 // TODO(jcampan): http://b/issue?id=1432077 This is a temporary work-around | 275 // TODO(jcampan): http://b/issue?id=1432077 This is a temporary work-around |
272 // until that bug is fixed. | 276 // until that bug is fixed. |
273 bool renderer_accessible_; | 277 bool renderer_accessible_; |
274 | 278 |
275 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 279 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
276 }; | 280 }; |
277 | 281 |
278 #endif // #ifndef CHROME_BROWSER_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 282 #endif // #ifndef CHROME_BROWSER_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
279 | 283 |
OLD | NEW |