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

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: git rebase 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 9abced664c834e2ddcef545bdb457f60087c77e3..a5b618e28f3771fd3c03b8183c18cc2ca2621655 100644
--- a/Source/web/WebViewImpl.h
+++ b/Source/web/WebViewImpl.h
@@ -241,10 +241,9 @@ public:
virtual float deviceScaleFactor() const;
virtual void setDeviceScaleFactor(float);
- virtual bool isFixedLayoutModeEnabled() const;
- virtual void enableFixedLayoutMode(bool enable);
- virtual WebSize fixedLayoutSize() const;
+
virtual void setFixedLayoutSize(const WebSize&);
+
virtual void enableAutoResizeMode(
const WebSize& minSize,
const WebSize& maxSize);
@@ -445,7 +444,8 @@ public:
return m_maxAutoSize;
}
- void updatePageDefinedPageScaleConstraints(const WebCore::ViewportArguments&);
+ void updateMainFrameLayoutSize();
+ void updatePageDefinedViewportConstraints(const WebCore::ViewportArguments&);
// Start a system drag and drop operation.
void startDragging(

Powered by Google App Engine
This is Rietveld 408576698