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

Unified Diff: third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimator.h

Issue 2911103002: Revert of Implement Element.scrollIntoView for scroll-behavior: smooth. (Closed)
Patch Set: Created 3 years, 7 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
Index: third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimator.h
diff --git a/third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimator.h b/third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimator.h
index 8f1240fa127a5939d3dde87a419d3a1437a9c4f6..f8a365c32b9584f2e5efabc5ac292e62cd27e0b4 100644
--- a/third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimator.h
+++ b/third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimator.h
@@ -30,8 +30,7 @@
virtual ~ProgrammaticScrollAnimator();
void ScrollToOffsetWithoutAnimation(const ScrollOffset&);
- void AnimateToOffset(const ScrollOffset&,
- bool sequenced_for_smooth_scroll = false);
+ void AnimateToOffset(const ScrollOffset&);
// ScrollAnimatorCompositorCoordinator implementation.
void ResetAnimationState() override;
@@ -53,13 +52,11 @@
explicit ProgrammaticScrollAnimator(ScrollableArea*);
void NotifyOffsetChanged(const ScrollOffset&);
- void AnimationFinished();
Member<ScrollableArea> scrollable_area_;
std::unique_ptr<CompositorScrollOffsetAnimationCurve> animation_curve_;
ScrollOffset target_offset_;
double start_time_;
- bool sequenced_for_smooth_scroll_;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698