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

Unified Diff: Source/web/WebViewImpl.h

Issue 23819019: Refactor fixed layout mode (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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
Index: Source/web/WebViewImpl.h
diff --git a/Source/web/WebViewImpl.h b/Source/web/WebViewImpl.h
index 3f3f1e1970734ed6be6c883bde4e14335ef38f13..fc54eedac9a4d6de44746de5ce223203b01fd36c 100644
--- a/Source/web/WebViewImpl.h
+++ b/Source/web/WebViewImpl.h
@@ -240,10 +240,13 @@ public:
virtual float deviceScaleFactor() const;
virtual void setDeviceScaleFactor(float);
- virtual bool isFixedLayoutModeEnabled() const;
+
+ virtual void setLayoutSize(const WebSize&);
+
+ // TODO: Remove once Chrome-side changes land
virtual void enableFixedLayoutMode(bool enable);
- virtual WebSize fixedLayoutSize() const;
virtual void setFixedLayoutSize(const WebSize&);
+
virtual void enableAutoResizeMode(
const WebSize& minSize,
const WebSize& maxSize);

Powered by Google App Engine
This is Rietveld 408576698