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

Unified Diff: content/browser/frame_host/render_widget_host_view_child_frame.cc

Issue 2695093005: Remove RWHV::SetBounds() from the public API, and make comments clearer.
Patch Set: Revert web_contents_sizer to its previous shenanigans (http://crbug.com/693953). Created 3 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: content/browser/frame_host/render_widget_host_view_child_frame.cc
diff --git a/content/browser/frame_host/render_widget_host_view_child_frame.cc b/content/browser/frame_host/render_widget_host_view_child_frame.cc
index edf97a0461e1c38a84a073d88a32408052efd9b5..6b2ed71a2fca3b5ce9ff920826bca5a0b9e8f859 100644
--- a/content/browser/frame_host/render_widget_host_view_child_frame.cc
+++ b/content/browser/frame_host/render_widget_host_view_child_frame.cc
@@ -129,7 +129,8 @@ void RenderWidgetHostViewChildFrame::SetSize(const gfx::Size& size) {
host_->WasResized();
}
-void RenderWidgetHostViewChildFrame::SetBounds(const gfx::Rect& rect) {
+void RenderWidgetHostViewChildFrame::RequestTopLevelBoundsInScreen(
+ const gfx::Rect& rect) {
SetSize(rect.size());
if (rect != last_screen_rect_) {

Powered by Google App Engine
This is Rietveld 408576698