| Index: public/web/WebView.h
|
| diff --git a/public/web/WebView.h b/public/web/WebView.h
|
| index 29ef2c4b9b9adb059ab45f7ab1984cb34220200d..7e8cc71edd7cf7a4c8af069df5b892b1621fe20c 100644
|
| --- a/public/web/WebView.h
|
| +++ b/public/web/WebView.h
|
| @@ -304,17 +304,17 @@ public:
|
| virtual void setDeviceScaleFactor(float) = 0;
|
|
|
|
|
| - // Fixed Layout --------------------------------------------------------
|
| + // Layout size -----------------------------------------------------------
|
|
|
| - // In fixed layout mode, the layout of the page is independent of the
|
| - // view port size, given by WebWidget::size().
|
| -
|
| - virtual bool isFixedLayoutModeEnabled() const = 0;
|
| - virtual void enableFixedLayoutMode(bool enable) = 0;
|
| -
|
| - virtual WebSize fixedLayoutSize() const = 0;
|
| + // Locks the main frame's layout size to a fixed value and causes
|
| + // it to ignore the viewport arguments/window resize. Setting width
|
| + // and height to 0 will remove the lock and renable viewport/resize.
|
| virtual void setFixedLayoutSize(const WebSize&) = 0;
|
|
|
| + // TODO: Remove once Chrome side changes land
|
| + virtual void enableFixedLayoutMode(bool enable) { }
|
| + virtual bool isFixedLayoutModeEnabled() { return true; }
|
| +
|
|
|
| // Auto-Resize -----------------------------------------------------------
|
|
|
|
|