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

Unified Diff: Source/core/frame/FrameView.h

Issue 1223173006: Get rid of clampScrollOffset and make maximumScrollPosition sane. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revert changes to Element::clientWidth, etc. Created 5 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 | « LayoutTests/TestExpectations ('k') | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/FrameView.h
diff --git a/Source/core/frame/FrameView.h b/Source/core/frame/FrameView.h
index 5dabe604727d9a5cea1a1dab025a9ecc34be92c7..81b58b62ee1b3210854c179280942d9999bc6202 100644
--- a/Source/core/frame/FrameView.h
+++ b/Source/core/frame/FrameView.h
@@ -336,6 +336,7 @@ public:
// commit scroll offsets before a WebView::resize occurs, we need to adjust
// our scroll extents to prevent clamping the scroll offsets.
void setTopControlsViewportAdjustment(float);
+ IntSize topControlsSize() const { return IntSize(0, roundf(m_topControlsViewportAdjustment)); }
IntPoint maximumScrollPosition() const override;
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698