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

Unified Diff: content/browser/frame_host/render_widget_host_view_guest.h

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.h
diff --git a/content/browser/frame_host/render_widget_host_view_guest.h b/content/browser/frame_host/render_widget_host_view_guest.h
index fea13850ab586babd0e47695985cd93f34ecf83a..37e38994c32d1d98982b0aa0aaac753579436714 100644
--- a/content/browser/frame_host/render_widget_host_view_guest.h
+++ b/content/browser/frame_host/render_widget_host_view_guest.h
@@ -57,7 +57,6 @@ class CONTENT_EXPORT RenderWidgetHostViewGuest
bool OnMessageReceived(const IPC::Message& msg) override;
void InitAsChild(gfx::NativeView parent_view) override;
void SetSize(const gfx::Size& size) override;
- void SetBounds(const gfx::Rect& rect) override;
void Focus() override;
bool HasFocus() const override;
void Show() override;
@@ -74,6 +73,7 @@ class CONTENT_EXPORT RenderWidgetHostViewGuest
void InitAsPopup(RenderWidgetHostView* parent_host_view,
const gfx::Rect& bounds) override;
void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override;
+ void RequestTopLevelBoundsInScreen(const gfx::Rect& rect) override;
void UpdateCursor(const WebCursor& cursor) override;
void SetIsLoading(bool is_loading) override;
void TextInputStateChanged(const TextInputState& params) override;

Powered by Google App Engine
This is Rietveld 408576698