view modules/web/src/main/native/Source/WebCore/platform/java/ScrollbarThemeJava.h @ 6032:94331ac42150

RT-25869: Update copyright year in header of modified source code files to 2013 Reviewed-by: Mong Hang Vo
author kcr
date Mon, 23 Dec 2013 13:46:39 -0800
parents 64ece25b039f
children d2f8c8021c1a
line wrap: on
line source
/*
 * Copyright (c) 2011, 2013, 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 IntPoint&);

    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