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

Unified Diff: WebCore/platform/ScrollAnimator.cpp

Issue 3305022: Merge 67052 - Not reviewed, layout test fix.... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/517/
Patch Set: Created 10 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 | « WebCore/platform/ScrollAnimator.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebCore/platform/ScrollAnimator.cpp
===================================================================
--- WebCore/platform/ScrollAnimator.cpp (revision 67052)
+++ WebCore/platform/ScrollAnimator.cpp (working copy)
@@ -43,6 +43,17 @@
}
#endif
+ScrollAnimator::ScrollAnimator(ScrollbarClient* client)
+ : m_client(client)
+ , m_currentPosX(0)
+ , m_currentPosY(0)
+{
+}
+
+ScrollAnimator::~ScrollAnimator()
+{
+}
+
bool ScrollAnimator::scroll(ScrollbarOrientation orientation, ScrollGranularity, float step, float multiplier)
{
float* currentPos = (orientation == HorizontalScrollbar) ? &m_currentPosX : &m_currentPosY;
« no previous file with comments | « WebCore/platform/ScrollAnimator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698