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

Side by Side Diff: Source/platform/mac/ScrollAnimatorMac.h

Issue 1170223002: Revert of Removed unused ScrollAnimatorMac methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | Source/platform/mac/ScrollAnimatorMac.mm » ('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, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2010, 2011 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 namespace blink { 42 namespace blink {
43 43
44 class Scrollbar; 44 class Scrollbar;
45 45
46 class PLATFORM_EXPORT ScrollAnimatorMac : public ScrollAnimator { 46 class PLATFORM_EXPORT ScrollAnimatorMac : public ScrollAnimator {
47 47
48 public: 48 public:
49 ScrollAnimatorMac(ScrollableArea*); 49 ScrollAnimatorMac(ScrollableArea*);
50 virtual ~ScrollAnimatorMac(); 50 virtual ~ScrollAnimatorMac();
51 51
52 void immediateScrollToPointForScrollAnimation(const FloatPoint& newPosition) ;
52 bool haveScrolledSincePageLoad() const { return m_haveScrolledSincePageLoad; } 53 bool haveScrolledSincePageLoad() const { return m_haveScrolledSincePageLoad; }
53 54
54 void updateScrollerStyle(); 55 void updateScrollerStyle();
55 56
56 bool scrollbarPaintTimerIsActive() const; 57 bool scrollbarPaintTimerIsActive() const;
57 void startScrollbarPaintTimer(); 58 void startScrollbarPaintTimer();
58 void stopScrollbarPaintTimer(); 59 void stopScrollbarPaintTimer();
59 60
60 void sendContentAreaScrolledSoon(const FloatSize& scrollDelta); 61 void sendContentAreaScrolledSoon(const FloatSize& scrollDelta);
61 62
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 void immediateScrollTo(const FloatPoint&); 119 void immediateScrollTo(const FloatPoint&);
119 120
120 bool m_haveScrolledSincePageLoad; 121 bool m_haveScrolledSincePageLoad;
121 bool m_needsScrollerStyleUpdate; 122 bool m_needsScrollerStyleUpdate;
122 IntRect m_visibleScrollerThumbRect; 123 IntRect m_visibleScrollerThumbRect;
123 }; 124 };
124 125
125 } // namespace blink 126 } // namespace blink
126 127
127 #endif // ScrollAnimatorMac_h 128 #endif // ScrollAnimatorMac_h
OLDNEW
« no previous file with comments | « no previous file | Source/platform/mac/ScrollAnimatorMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698