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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 22848003: Resubmit issue to fix issue where window bounds were being passed with (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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/renderer_host/render_widget_host_view_aura.h
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.h b/content/browser/renderer_host/render_widget_host_view_aura.h
index c4a16271634b258699e99aa337fdf7a980553752..107fe161313725489933d270d9943e7ec86898aa 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.h
+++ b/content/browser/renderer_host/render_widget_host_view_aura.h
@@ -392,6 +392,11 @@ class RenderWidgetHostViewAura
void UpdateCursorIfOverSelf();
bool ShouldSkipFrame(gfx::Size size_in_dip) const;
+ // Set the bounds of the window and handle size changes. Assumes the caller
+ // has already adjusted the origin of |rect| to conform to whatever coordinate
+ // space is required by the aura::Window.
+ void InternalSetBounds(const gfx::Rect& rect);
+
// Lazily grab a resize lock if the aura window size doesn't match the current
// frame size, to give time to the renderer.
void MaybeCreateResizeLock();

Powered by Google App Engine
This is Rietveld 408576698