view modules/web/src/main/native/Source/WebCore/platform/java/ScrollbarThemeJava.h @ 4097:bcd662ba5826

RT-30490: Gradle: Reorganize rt repository
author kcr
date Thu, 27 Jun 2013 21:10:39 -0700
parents webview/native/Source/WebCore/platform/java/ScrollbarThemeJava.h@86d5cbe0c60f
children 64ece25b039f
line wrap: on
line source
/*
 * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
 */

#ifndef ScrollbarThemeJava_h
#define ScrollbarThemeJava_h

#include "JavaEnv.h"
#include "ScrollbarTheme.h"

namespace WebCore {

class ScrollbarThemeJava : public ScrollbarTheme {
public:
    virtual bool paint(ScrollbarThemeClient*, GraphicsContext*, const IntRect& damageRect);

    virtual ScrollbarPart hitTest(ScrollbarThemeClient*, const PlatformMouseEvent&);

    virtual void invalidatePart(ScrollbarThemeClient*, ScrollbarPart);

    virtual int thumbPosition(ScrollbarThemeClient*);
    virtual int thumbLength(ScrollbarThemeClient*);
    virtual int trackPosition(ScrollbarThemeClient*);
    virtual int trackLength(ScrollbarThemeClient*);

    virtual int scrollbarThickness(ScrollbarControlSize = RegularScrollbar);
};

}
#endif