Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Side by Side Diff: chrome/browser/renderer_host/render_widget_host_view_win.h

Issue 16488: Add a new resizer corner overlay. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host.cc ('k') | chrome/browser/renderer_host/render_widget_host_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698