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_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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) | 212 // Redraws the window synchronously, and any child windows (i.e. plugins) |
213 // asynchronously. | 213 // asynchronously. |
214 void Redraw(const gfx::Rect& invalid_rect); | 214 void Redraw(const gfx::Rect& invalid_rect); |
215 | 215 |
| 216 // Draw the resize corner bitmap on top of the given HDC, if it intersects the |
| 217 // given paint rect. |
| 218 void DrawResizeCorner(const gfx::Rect& paint_rect, HDC dc); |
| 219 |
216 // The associated Model. | 220 // The associated Model. |
217 RenderWidgetHost* render_widget_host_; | 221 RenderWidgetHost* render_widget_host_; |
218 | 222 |
219 // The cursor for the page. This is passed up from the renderer. | 223 // The cursor for the page. This is passed up from the renderer. |
220 WebCursor current_cursor_; | 224 WebCursor current_cursor_; |
221 | 225 |
222 // Indicates if the page is loading. | 226 // Indicates if the page is loading. |
223 bool is_loading_; | 227 bool is_loading_; |
224 | 228 |
225 // true if we are currently tracking WM_MOUSEEXIT messages. | 229 // true if we are currently tracking WM_MOUSEEXIT messages. |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 // Whether the renderer is made accessible. | 278 // Whether the renderer is made accessible. |
275 // TODO(jcampan): http://b/issue?id=1432077 This is a temporary work-around | 279 // TODO(jcampan): http://b/issue?id=1432077 This is a temporary work-around |
276 // until that bug is fixed. | 280 // until that bug is fixed. |
277 bool renderer_accessible_; | 281 bool renderer_accessible_; |
278 | 282 |
279 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 283 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
280 }; | 284 }; |
281 | 285 |
282 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 286 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
283 | 287 |
OLD | NEW |