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

Unified Diff: chrome/browser/renderer_host/render_widget_host.cc

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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/renderer_host/render_widget_host.cc
===================================================================
--- chrome/browser/renderer_host/render_widget_host.cc (revision 9328)
+++ chrome/browser/renderer_host/render_widget_host.cc (working copy)
@@ -164,7 +164,8 @@
if (!new_size.IsEmpty())
resize_ack_pending_ = true;
- if (!Send(new ViewMsg_Resize(routing_id_, new_size)))
+ if (!Send(new ViewMsg_Resize(routing_id_, new_size,
+ GetRootWindowResizerRect())))
resize_ack_pending_ = false;
}
@@ -330,6 +331,10 @@
BackingStoreManager::RemoveBackingStore(this);
}
+gfx::Rect RenderWidgetHost::GetRootWindowResizerRect() const {
+ return gfx::Rect();
+}
+
void RenderWidgetHost::Destroy() {
NotificationService::current()->Notify(
NotificationType::RENDER_WIDGET_HOST_DESTROYED,
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host.h ('k') | chrome/browser/renderer_host/render_widget_host_view_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698