Home
last modified time | relevance | path

Searched refs:autoscrollBeltSize (Results 1 – 1 of 1) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderBox.cpp81 static const int autoscrollBeltSize = 20; variable
768 if (windowAutoscrollPoint.x() < windowBox.x() + autoscrollBeltSize) in calculateAutoscrollDirection()
769 windowAutoscrollPoint.move(-autoscrollBeltSize, 0); in calculateAutoscrollDirection()
770 else if (windowAutoscrollPoint.x() > windowBox.maxX() - autoscrollBeltSize) in calculateAutoscrollDirection()
771 windowAutoscrollPoint.move(autoscrollBeltSize, 0); in calculateAutoscrollDirection()
773 if (windowAutoscrollPoint.y() < windowBox.y() + autoscrollBeltSize) in calculateAutoscrollDirection()
774 windowAutoscrollPoint.move(0, -autoscrollBeltSize); in calculateAutoscrollDirection()
775 else if (windowAutoscrollPoint.y() > windowBox.maxY() - autoscrollBeltSize) in calculateAutoscrollDirection()
776 windowAutoscrollPoint.move(0, autoscrollBeltSize); in calculateAutoscrollDirection()