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

Unified Diff: public/web/WebView.h

Issue 382543003: Add a force-layout-height-to-zero layout mode to WebViewImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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 6a046c7ad0b2ff940906242f3a9e2f262a711721..9d93227c44303bb05be254f748d10a281cbead34 100644
--- a/public/web/WebView.h
+++ b/public/web/WebView.h
@@ -289,6 +289,9 @@ public:
// Fixed Layout --------------------------------------------------------
+ // Forces the main frame's layout size height to be 0.
+ virtual void setForceZeroLayoutHeight(bool enable) = 0;
abarth-chromium 2014/07/09 17:01:07 This should be a WebSetting instead of being a mem
mkosiba (inactive) 2014/07/09 17:14:23 I wanted to do that but I couldn't find a way to t
+
// Locks main frame's layout size to specified size. Passing WebSize(0, 0)
// removes the lock.
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