Commit fa551a02 authored by dgozman@chromium.org's avatar dgozman@chromium.org

Revert of [DevTools] Add offset and scale to WebDeviceEmulationParams....

Revert of [DevTools] Add offset and scale to WebDeviceEmulationParams. (https://codereview.chromium.org/342953003/)

Reason for revert:
Broke compile.

Original issue's description:
> [DevTools] Add offset and scale to WebDeviceEmulationParams.
> 
> This will be used to set offset/scale from DevTools protocol
> instead of caluculating them in embedder.
> 
> BUG=327641
> NOTRY=true
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176506

TBR=pfeldman@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=327641

Review URL: https://codereview.chromium.org/342963002

git-svn-id: svn://svn.chromium.org/blink/trunk@176507 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent ba6a9c54
...@@ -33,17 +33,10 @@ struct WebDeviceEmulationParams { ...@@ -33,17 +33,10 @@ struct WebDeviceEmulationParams {
// Insets of emulated view inside available view space, in fit to view mode. // Insets of emulated view inside available view space, in fit to view mode.
WebSize viewInsets; WebSize viewInsets;
// Offset of emulated view inside available space, not in fit to view mode.
WebFloatPoint offset;
// Scale of emulated view inside available space, not in fit to view mode.
float scale;
WebDeviceEmulationParams() WebDeviceEmulationParams()
: screenPosition(Desktop) : screenPosition(Desktop)
, deviceScaleFactor(0) , deviceScaleFactor(0)
, fitToView(false) , fitToView(false) { }
, scale(1) { }
}; };
} // namespace blink } // namespace blink
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment