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

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

Issue 819953002: Mac: Update scrollbar size and input position during impl-overscroll (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Peure virtual Created 6 years 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 | « no previous file | 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 814ee26da913ab2f3ff5e552592105080d854a42..fbda1aa028e1f244e0e6847a8c9342750d23fbaf 100644
--- a/Source/core/frame/FrameView.h
+++ b/Source/core/frame/FrameView.h
@@ -167,6 +167,9 @@ public:
virtual bool rubberBandingOnCompositorThread() const override;
void setScrollPositionNonProgrammatically(const IntPoint&);
+ FloatSize elasticOverscroll() const { return m_elasticOverscroll; }
+ void setElasticOverscroll(const FloatSize&);
+
// This is different than visibleContentRect() in that it ignores negative (or overly positive)
// offsets from rubber-banding, and it takes zooming into account.
LayoutRect viewportConstrainedVisibleContentRect() const;
@@ -801,6 +804,8 @@ private:
int m_scrollbarsAvoidingResizer;
bool m_scrollbarsSuppressed;
+ FloatSize m_elasticOverscroll;
+
bool m_inUpdateScrollbars;
IntPoint m_panScrollIconPoint;
« no previous file with comments | « no previous file | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698