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

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

Issue 2123053002: Improve scroll anchoring's interactions with the visual viewport (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix broken tests Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/FrameView.h
diff --git a/third_party/WebKit/Source/core/frame/FrameView.h b/third_party/WebKit/Source/core/frame/FrameView.h
index 808842b6a230e10ecdc9957f052749fff421139c..e9c1059f1eb30ce1f643cb8f72b2e36ab0e03bce 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.h
+++ b/third_party/WebKit/Source/core/frame/FrameView.h
@@ -393,6 +393,7 @@ public:
bool shouldPlaceVerticalScrollbarOnLeft() const override;
Widget* getWidget() override;
CompositorAnimationTimeline* compositorAnimationTimeline() const override;
+ LayoutBox* layoutBox() const override { return layoutView(); }
LayoutRect scrollIntoView(
const LayoutRect& rectInContent,
@@ -606,6 +607,7 @@ public:
FloatSize viewportSizeForViewportUnits() const;
ScrollAnchor& scrollAnchor() { return m_scrollAnchor; }
+ void clearScrollAnchor();
// For PaintInvalidator temporarily. TODO(wangxianzhu): Move into PaintInvalidator.
void invalidatePaintIfNeeded(const PaintInvalidationState&);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698