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

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

Issue 23672027: Rename OS(WINDOWS) to OS(WIN) (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/AutoscrollController.h ('k') | Source/core/page/DragController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/AutoscrollController.cpp
diff --git a/Source/core/page/AutoscrollController.cpp b/Source/core/page/AutoscrollController.cpp
index c7174c11bf0040b2ffd003980b3288212561ee21..257bb7dbc760ac03c18cc1ab866645d61a560357 100644
--- a/Source/core/page/AutoscrollController.cpp
+++ b/Source/core/page/AutoscrollController.cpp
@@ -90,7 +90,7 @@ void AutoscrollController::stopAutoscrollTimer()
return;
scrollable->stopAutoscroll();
-#if OS(WINDOWS)
+#if OS(WIN)
if (panScrollInProgress()) {
if (FrameView* view = scrollable->frame()->view()) {
view->removePanScrollIcon();
@@ -118,7 +118,7 @@ void AutoscrollController::updateAutoscrollRenderer()
RenderObject* renderer = m_autoscrollRenderer;
-#if OS(WINDOWS)
+#if OS(WIN)
HitTestResult hitTest = renderer->frame()->eventHandler()->hitTestResultAtPoint(m_panScrollStartPos, HitTestRequest::ReadOnly | HitTestRequest::Active | HitTestRequest::DisallowShadowContent);
if (Node* nodeAtPoint = hitTest.innerNode())
@@ -171,7 +171,7 @@ void AutoscrollController::updateDragAndDrop(Node* dropTargetNode, const IntPoin
}
}
-#if OS(WINDOWS)
+#if OS(WIN)
void AutoscrollController::handleMouseReleaseForPanScrolling(Frame* frame, const PlatformMouseEvent& mouseEvent)
{
Page* page = frame->page();
@@ -237,7 +237,7 @@ void AutoscrollController::autoscrollTimerFired(Timer<AutoscrollController>*)
break;
case NoAutoscroll:
break;
-#if OS(WINDOWS)
+#if OS(WIN)
case AutoscrollForPanCanStop:
case AutoscrollForPan:
if (!panScrollInProgress()) {
@@ -257,7 +257,7 @@ void AutoscrollController::startAutoscrollTimer()
m_autoscrollTimer.startRepeating(autoscrollInterval);
}
-#if OS(WINDOWS)
+#if OS(WIN)
void AutoscrollController::updatePanScrollState(FrameView* view, const IntPoint& lastKnownMousePosition)
{
// At the original click location we draw a 4 arrowed icon. Over this icon there won't be any scroll
« no previous file with comments | « Source/core/page/AutoscrollController.h ('k') | Source/core/page/DragController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698