Index: Source/core/rendering/RenderTheme.h |
diff --git a/Source/core/rendering/RenderTheme.h b/Source/core/rendering/RenderTheme.h |
index d95d308e60154b27964d1e9ec3dfb63190058f03..f39694ad32c0e300e76fdacb3df6117185ed605a 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; } |
@@ -232,6 +231,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; } |