diff options
Diffstat (limited to 'WebCore/platform/gtk/RenderThemeGtk.h')
-rw-r--r-- | WebCore/platform/gtk/RenderThemeGtk.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/WebCore/platform/gtk/RenderThemeGtk.h b/WebCore/platform/gtk/RenderThemeGtk.h index 82a87cb..13daaa2 100644 --- a/WebCore/platform/gtk/RenderThemeGtk.h +++ b/WebCore/platform/gtk/RenderThemeGtk.h @@ -5,6 +5,7 @@ * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com * Copyright (C) 2007 Holger Hans Peter Freyther * Copyright (C) 2007 Alp Toker <alp@atoker.com> + * Copyright (C) 2009 Kenneth Rohde Christiansen * All rights reserved. * * This library is free software; you can redistribute it and/or @@ -34,10 +35,13 @@ namespace WebCore { class RenderThemeGtk : public RenderTheme { -public: +private: RenderThemeGtk(); virtual ~RenderThemeGtk(); +public: + static PassRefPtr<RenderTheme> create(); + // A method asking if the theme's controls actually care about redrawing when hovered. virtual bool supportsHover(const RenderStyle* style) const { return true; } @@ -85,7 +89,6 @@ protected: virtual void adjustTextFieldStyle(CSSStyleSelector*, RenderStyle*, Element*) const; virtual bool paintTextField(RenderObject*, const RenderObject::PaintInfo&, const IntRect&); - virtual void adjustTextAreaStyle(CSSStyleSelector*, RenderStyle*, Element*) const; virtual bool paintTextArea(RenderObject*, const RenderObject::PaintInfo&, const IntRect&); virtual void adjustMenuListStyle(CSSStyleSelector*, RenderStyle*, Element*) const; |