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

Unified Diff: public/web/WebWidget.h

Issue 560623002: Adjust maximum scroll bounds on FrameView to account for top controls. (Blink-side) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 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
« no previous file with comments | « 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/WebWidget.h
diff --git a/public/web/WebWidget.h b/public/web/WebWidget.h
index 5a7a80234b8aa97843930d54bc3711b4ab65a968..92178a9c3ac098fd136e999ede7b5c4be213a8e2 100644
--- a/public/web/WebWidget.h
+++ b/public/web/WebWidget.h
@@ -262,6 +262,9 @@ public:
// but not the select popup.
virtual WebPagePopup* pagePopup() const { return 0; }
+ // Sets the height subtracted from the Widget to accomodate the top controls.
+ virtual void setTopControlsLayoutHeight(float) { }
+
protected:
~WebWidget() { }
};
« no previous file with comments | « Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698