Index: public/web/WebDeviceEmulationParams.h |
diff --git a/public/web/WebDeviceEmulationParams.h b/public/web/WebDeviceEmulationParams.h |
index 0816ca659528ed3b12e898df6341f7ecfb876cb1..ac4dbbd78d81b029df629de7f76542e2e654c9d1 100644 |
--- a/public/web/WebDeviceEmulationParams.h |
+++ b/public/web/WebDeviceEmulationParams.h |
@@ -5,6 +5,7 @@ |
#ifndef WebDeviceEmulationParams_h |
#define WebDeviceEmulationParams_h |
+#include "public/platform/WebFloatPoint.h" |
#include "public/platform/WebRect.h" |
#include "public/platform/WebSize.h" |
@@ -33,10 +34,17 @@ struct WebDeviceEmulationParams { |
// Insets of emulated view inside available view space, in fit to view mode. |
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() |
: screenPosition(Desktop) |
, deviceScaleFactor(0) |
- , fitToView(false) { } |
+ , fitToView(false) |
+ , scale(1) { } |
}; |
} // namespace blink |