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

Unified Diff: Source/web/WebViewImpl.h

Issue 23441020: Make it possibe to lock the fixedLayoutSize (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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 62dd2149581358cc09b95bb7ca486b655bb3e80f..094dc0d95ac023a97a9a2db7dde31fceb6cdaa34 100644
--- a/Source/web/WebViewImpl.h
+++ b/Source/web/WebViewImpl.h
@@ -241,6 +241,7 @@ public:
virtual void enableFixedLayoutMode(bool enable);
virtual WebSize fixedLayoutSize() const;
virtual void setFixedLayoutSize(const WebSize&);
+ virtual void setForceFixedLayoutSizeToEqualSize(bool);
virtual void enableAutoResizeMode(
const WebSize& minSize,
const WebSize& maxSize);
@@ -667,6 +668,7 @@ private:
BackForwardClientImpl m_backForwardClientImpl;
WebSize m_size;
+ bool m_forceFixedLayoutSizeToEqualSize;
// If true, automatically resize the render view around its content.
bool m_shouldAutoResize;
// The lower bound on the size when auto-resizing.

Powered by Google App Engine
This is Rietveld 408576698