Index: Source/core/rendering/RenderTheme.h |
diff --git a/Source/core/rendering/RenderTheme.h b/Source/core/rendering/RenderTheme.h |
index c39043f17d94a48fa52ff14a08757f4e658cd1c8..f342c5adab54e6de86e85526c8fcfddb53863da5 100644 |
--- a/Source/core/rendering/RenderTheme.h |
+++ b/Source/core/rendering/RenderTheme.h |
@@ -119,8 +119,7 @@ public: |
// old theme. |
virtual void themeChanged() { } |
- // A method asking if the theme is able to draw the focus ring. |
- virtual bool supportsFocusRing(const RenderStyle*) const; |
+ bool shouldDrawDefaultFocusRing(RenderObject*) const; |
// A method asking if the theme's controls actually care about redrawing when hovered. |
virtual bool supportsHover(const RenderStyle*) const { return false; } |
@@ -230,6 +229,8 @@ protected: |
virtual Color platformActiveListBoxSelectionForegroundColor() const; |
virtual Color platformInactiveListBoxSelectionForegroundColor() const; |
+ // A method asking if the theme is able to draw the focus ring. |
+ virtual bool supportsFocusRing(const RenderStyle*) const; |
virtual bool supportsSelectionForegroundColors() const { return true; } |
virtual bool supportsListBoxSelectionForegroundColors() const { return true; } |