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

Unified Diff: Source/core/platform/mac/ScrollAnimatorMac.h

Issue 24130008: Rename ENABLE(RUBBER_BANDING) to USE(RUBBER_BANDING). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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 | « Source/core/platform/ScrollbarTheme.h ('k') | Source/core/platform/mac/ScrollAnimatorMac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/mac/ScrollAnimatorMac.h
diff --git a/Source/core/platform/mac/ScrollAnimatorMac.h b/Source/core/platform/mac/ScrollAnimatorMac.h
index 648d445085d747ba998db43599a94cccd2656f8e..4d03966b7fffaeb842b08637d88dcce84bec95e7 100644
--- a/Source/core/platform/mac/ScrollAnimatorMac.h
+++ b/Source/core/platform/mac/ScrollAnimatorMac.h
@@ -40,7 +40,7 @@ OBJC_CLASS WebScrollbarPainterDelegate;
typedef id ScrollbarPainterController;
-#if !ENABLE(RUBBER_BANDING)
+#if !USE(RUBBER_BANDING)
class ScrollElasticityControllerClient { };
#endif
@@ -88,7 +88,7 @@ private:
virtual bool scroll(ScrollbarOrientation, ScrollGranularity, float step, float multiplier);
virtual void scrollToOffsetWithoutAnimation(const FloatPoint&);
-#if ENABLE(RUBBER_BANDING)
+#if USE(RUBBER_BANDING)
virtual bool handleWheelEvent(const PlatformWheelEvent&) OVERRIDE;
#endif
@@ -130,7 +130,7 @@ private:
virtual bool isRubberBandInProgress() const OVERRIDE;
-#if ENABLE(RUBBER_BANDING)
+#if USE(RUBBER_BANDING)
/// ScrollElasticityControllerClient member functions.
virtual IntSize stretchAmount() OVERRIDE;
virtual bool allowsHorizontalStretching() OVERRIDE;
« no previous file with comments | « Source/core/platform/ScrollbarTheme.h ('k') | Source/core/platform/mac/ScrollAnimatorMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698