RenderThemeHaiku.h [plain text]
#ifndef RenderThemeHaiku_h
#define RenderThemeHaiku_h
#include "RenderTheme.h"
namespace WebCore {
class RenderThemeHaiku : public RenderTheme {
private:
RenderThemeHaiku();
virtual ~RenderThemeHaiku();
public:
static PassRefPtr<RenderTheme> create();
virtual bool supportsHover(const RenderStyle* style) const { return false; }
virtual bool supportsFocusRing(const RenderStyle*) const;
virtual Color platformActiveSelectionBackgroundColor() const;
virtual Color platformInactiveSelectionBackgroundColor() const;
virtual Color platformActiveSelectionForegroundColor() const;
virtual Color platformInactiveSelectionForegroundColor() const;
virtual Color platformTextSearchHighlightColor() const;
virtual void systemFont(int propId, FontDescription&) const;
protected:
virtual bool paintCheckbox(RenderObject*, const RenderObject::PaintInfo&, const IntRect&);
virtual void setCheckboxSize(RenderStyle*) const;
virtual bool paintRadio(RenderObject*, const RenderObject::PaintInfo&, const IntRect&);
virtual void setRadioSize(RenderStyle*) const;
virtual void adjustMenuListStyle(CSSStyleSelector*, RenderStyle*, Element*) const;
virtual bool paintMenuList(RenderObject*, const RenderObject::PaintInfo&, const IntRect&);
};
}
#endif // RenderThemeHaiku_h