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

Side by Side Diff: WebCore/platform/ScrollAnimatorWin.h

Issue 3290027: Merge 67401 - 210-09-13 Darin Fisher <darin@chromium.org>... (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 unified diff | Download patch
« no previous file with comments | « WebCore/platform/ScrollAnimator.cpp ('k') | WebCore/platform/ScrollAnimatorWin.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2010, Google Inc. All rights reserved. 2 * Copyright (c) 2010, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 13 matching lines...) Expand all
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef ScrollAnimatorWin_h 31 #ifndef ScrollAnimatorWin_h
32 #define ScrollAnimatorWin_h 32 #define ScrollAnimatorWin_h
33 33
34 #if ENABLE(SMOOTH_SCROLLING)
35
34 #include "ScrollAnimator.h" 36 #include "ScrollAnimator.h"
35 #include "Timer.h" 37 #include "Timer.h"
36 38
37 namespace WebCore { 39 namespace WebCore {
38 40
39 class ScrollAnimatorWin : public ScrollAnimator { 41 class ScrollAnimatorWin : public ScrollAnimator {
40 public: 42 public:
41 ScrollAnimatorWin(ScrollbarClient*); 43 ScrollAnimatorWin(ScrollbarClient*);
42 virtual ~ScrollAnimatorWin(); 44 virtual ~ScrollAnimatorWin();
43 45
(...skipping 17 matching lines...) Expand all
61 63
62 void animationTimerFired(Timer<ScrollAnimatorWin>*); 64 void animationTimerFired(Timer<ScrollAnimatorWin>*);
63 void stopAnimationTimerIfNeeded(PerAxisData*); 65 void stopAnimationTimerIfNeeded(PerAxisData*);
64 void animateScroll(PerAxisData*); 66 void animateScroll(PerAxisData*);
65 67
66 PerAxisData m_horizontalData; 68 PerAxisData m_horizontalData;
67 PerAxisData m_verticalData; 69 PerAxisData m_verticalData;
68 }; 70 };
69 71
70 } 72 }
73
74 #endif // ENABLE(SMOOTH_SCROLLING)
75
71 #endif 76 #endif
OLDNEW
« no previous file with comments | « WebCore/platform/ScrollAnimator.cpp ('k') | WebCore/platform/ScrollAnimatorWin.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698