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

Unified Diff: sky/engine/platform/scroll/ScrollableArea.h

Issue 720713003: Remove WebScroll* (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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: sky/engine/platform/scroll/ScrollableArea.h
diff --git a/sky/engine/platform/scroll/ScrollableArea.h b/sky/engine/platform/scroll/ScrollableArea.h
index cc27611408de9a8aa932430cff770b2e8f617593..b409f7d1c907afb222e536fa51ce8d3b4c490fe3 100644
--- a/sky/engine/platform/scroll/ScrollableArea.h
+++ b/sky/engine/platform/scroll/ScrollableArea.h
@@ -38,7 +38,6 @@ class FloatPoint;
class GraphicsLayer;
class HostWindow;
class PlatformWheelEvent;
-class ProgrammaticScrollAnimator;
class ScrollAnimator;
enum ScrollBehavior {
@@ -67,8 +66,6 @@ public:
void scrollToOffsetWithoutAnimation(const FloatPoint&);
void scrollToOffsetWithoutAnimation(ScrollbarOrientation, float offset);
- void programmaticallyScrollSmoothlyToOffset(const FloatPoint&);
-
// Should be called when the scroll position changes externally, for example if the scroll layer position
// is updated on the scrolling thread and we need to notify the main thread.
void notifyScrollPositionChanged(const IntPoint&);
@@ -116,12 +113,6 @@ public:
// This getter will return null if the ScrollAnimator hasn't been created yet.
ScrollAnimator* existingScrollAnimator() const { return m_animators ? m_animators->scrollAnimator.get() : 0; }
- ProgrammaticScrollAnimator* programmaticScrollAnimator() const;
- ProgrammaticScrollAnimator* existingProgrammaticScrollAnimator() const
- {
- return m_animators ? m_animators->programmaticScrollAnimator.get() : 0;
- }
-
const IntPoint& scrollOrigin() const { return m_scrollOrigin; }
bool scrollOriginChanged() const { return m_scrollOriginChanged; }
@@ -191,8 +182,6 @@ public:
m_horizontalBarDamage = IntRect();
}
- void cancelProgrammaticScrollAnimation();
-
protected:
ScrollableArea();
virtual ~ScrollableArea();
@@ -224,7 +213,6 @@ private:
struct ScrollableAreaAnimators {
OwnPtr<ScrollAnimator> scrollAnimator;
- OwnPtr<ProgrammaticScrollAnimator> programmaticScrollAnimator;
};
mutable OwnPtr<ScrollableAreaAnimators> m_animators;
« no previous file with comments | « sky/engine/platform/scroll/ProgrammaticScrollAnimator.cpp ('k') | sky/engine/platform/scroll/ScrollableArea.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698