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

Unified Diff: Source/core/page/FrameView.cpp

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/page/FrameView.h ('k') | Source/core/platform/ScrollView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/FrameView.cpp
diff --git a/Source/core/page/FrameView.cpp b/Source/core/page/FrameView.cpp
index b8541cd4c0f9613135720aaaccc4b56a7f81a424..0d60de3a3a746b25e09c636961e2b575e3488669 100644
--- a/Source/core/page/FrameView.cpp
+++ b/Source/core/page/FrameView.cpp
@@ -756,7 +756,7 @@ GraphicsLayer* FrameView::layerForScrollCorner() const
return renderView->compositor()->layerForScrollCorner();
}
-#if ENABLE(RUBBER_BANDING)
+#if USE(RUBBER_BANDING)
GraphicsLayer* FrameView::layerForOverhangAreas() const
{
RenderView* renderView = this->renderView();
@@ -764,7 +764,7 @@ GraphicsLayer* FrameView::layerForOverhangAreas() const
return 0;
return renderView->compositor()->layerForOverhangAreas();
}
-#endif // ENABLE(RUBBER_BANDING)
+#endif // USE(RUBBER_BANDING)
bool FrameView::hasCompositedContent() const
{
@@ -3368,7 +3368,7 @@ bool FrameView::wheelEvent(const PlatformWheelEvent& wheelEvent)
{
// Note that to allow for rubber-band over-scroll behavior, even non-scrollable views
// should handle wheel events.
-#if !ENABLE(RUBBER_BANDING)
+#if !USE(RUBBER_BANDING)
if (!isScrollable())
return false;
#endif
« no previous file with comments | « Source/core/page/FrameView.h ('k') | Source/core/platform/ScrollView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698