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

Unified Diff: public/web/WebView.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
« Source/web/tests/WebFrameTest.cpp ('K') | « Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebView.h
diff --git a/public/web/WebView.h b/public/web/WebView.h
index 36d38ca82043f99fdec97f4104647242c84da7ae..2e2fa33a08df704022e2df653a52c3bc151db323 100644
--- a/public/web/WebView.h
+++ b/public/web/WebView.h
@@ -303,15 +303,13 @@ 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().
+ // Sets the size Blink uses to layout the page in FrameView
+ virtual void setLayoutSize(const WebSize&) = 0;
- virtual bool isFixedLayoutModeEnabled() const = 0;
+ // TODO: Remove once Chrome side changes land
virtual void enableFixedLayoutMode(bool enable) = 0;
-
- virtual WebSize fixedLayoutSize() const = 0;
virtual void setFixedLayoutSize(const WebSize&) = 0;
« Source/web/tests/WebFrameTest.cpp ('K') | « Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698