using namespace std;
-namespace WebCore {
+namespace blink {
ScrollbarThemeOverlay::ScrollbarThemeOverlay(int thumbThickness, int scrollbarMargin, HitTestBehavior allowHitTest, Color color)
: ScrollbarTheme()
void ScrollbarThemeOverlay::paintThumb(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect)
{
- if (context->paintingDisabled())
- return;
IntRect thumbRect = rect;
if (scrollbar->orientation() == HorizontalScrollbar) {
thumbRect.setHeight(thumbRect.height() - m_scrollbarMargin);
return ScrollbarTheme::hitTest(scrollbar, position);
}
-} // namespace WebCore
+} // namespace blink