| Index: content/renderer/render_widget.h
|
| diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
|
| index 50392c905405fe8154fce655f74824e5058e9419..6fa045a2b0f813cd93d71d0751263b7360c8f579 100644
|
| --- a/content/renderer/render_widget.h
|
| +++ b/content/renderer/render_widget.h
|
| @@ -398,9 +398,8 @@ class CONTENT_EXPORT RenderWidget
|
| // Used to force the size of a window when running layout tests.
|
| void SetWindowRectSynchronously(const gfx::Rect& new_window_rect);
|
| virtual void SetScreenMetricsEmulationParameters(
|
| - float device_scale_factor,
|
| - const gfx::Point& root_layer_offset,
|
| - float root_layer_scale);
|
| + bool enabled,
|
| + const blink::WebDeviceEmulationParams& params);
|
| #if defined(OS_MACOSX) || defined(OS_ANDROID)
|
| void SetExternalPopupOriginAdjustmentsForEmulation(
|
| ExternalPopupMenu* popup, ScreenMetricsEmulator* emulator);
|
| @@ -784,8 +783,8 @@ class CONTENT_EXPORT RenderWidget
|
|
|
| // Popups may be displaced when screen metrics emulation is enabled.
|
| // These values are used to properly adjust popup position.
|
| - gfx::Point popup_view_origin_for_emulation_;
|
| - gfx::Point popup_screen_origin_for_emulation_;
|
| + gfx::PointF popup_view_origin_for_emulation_;
|
| + gfx::PointF popup_screen_origin_for_emulation_;
|
| float popup_origin_scale_for_emulation_;
|
|
|
| scoped_refptr<FrameSwapMessageQueue> frame_swap_message_queue_;
|
|
|