#ifndef PPAPI_CPP_DEV_SCROLLBAR_DEV_H_
#define PPAPI_CPP_DEV_SCROLLBAR_DEV_H_
#include "ppapi/c/dev/ppb_scrollbar_dev.h"
#include "ppapi/cpp/dev/widget_dev.h"
namespace pp {
class InstanceHandle;
class Scrollbar_Dev : public Widget_Dev {
public:
Scrollbar_Dev() {}
explicit Scrollbar_Dev(PP_Resource resource);
Scrollbar_Dev(const InstanceHandle& instance, bool vertical);
Scrollbar_Dev(const Scrollbar_Dev& other);
Scrollbar_Dev& operator=(const Scrollbar_Dev& other);
uint32_t GetThickness();
bool IsOverlay();
uint32_t GetValue();
void SetValue(uint32_t value);
void SetDocumentSize(uint32_t size);
void SetTickMarks(const Rect* tick_marks, uint32_t count);
void ScrollBy(PP_ScrollBy_Dev unit, int32_t multiplier);
};
}
#endif