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

Unified Diff: content/browser/frame_host/render_widget_host_view_guest.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_guest.cc
diff --git a/content/browser/frame_host/render_widget_host_view_guest.cc b/content/browser/frame_host/render_widget_host_view_guest.cc
index 93ea21f4b63ecb978654fe2d436e40d19dd67445..dbac58e76c08ef58af851768ff45d690034b73bc 100644
--- a/content/browser/frame_host/render_widget_host_view_guest.cc
+++ b/content/browser/frame_host/render_widget_host_view_guest.cc
@@ -142,7 +142,8 @@ void RenderWidgetHostViewGuest::SetSize(const gfx::Size& size) {
host_->WasResized();
}
-void RenderWidgetHostViewGuest::SetBounds(const gfx::Rect& rect) {
+void RenderWidgetHostViewGuest::RequestTopLevelBoundsInScreen(
+ const gfx::Rect& rect) {
SetSize(rect.size());
}

Powered by Google App Engine
This is Rietveld 408576698