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

Unified Diff: content/renderer/render_widget.h

Issue 894193003: ResizeSynchronously should resize the visible viewport as well. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed variable names Created 5 years, 11 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
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index 0847f2e30ae1b621e2a29ea7689440e642aae81d..0712b7752a2228dbb5ef15a4b71663671a249534 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -400,9 +400,7 @@ class CONTENT_EXPORT RenderWidget
bool is_fullscreen,
ResizeAck resize_ack);
// Used to force the size of a window when running layout tests.
- void ResizeSynchronously(
- const gfx::Rect& new_position,
- const gfx::Size& visible_viewport_size);
+ void SetWindowRectSynchronously(const gfx::Rect& new_window_rect);
virtual void SetScreenMetricsEmulationParameters(
float device_scale_factor,
const gfx::Point& root_layer_offset,
@@ -620,8 +618,8 @@ class CONTENT_EXPORT RenderWidget
// view is.
int32 opener_id_;
- // The position where this view should be initially shown.
- gfx::Rect initial_pos_;
+ // The rect where this view should be initially shown.
+ gfx::Rect initial_rect_;
bool init_complete_;
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698