Index: Source/core/rendering/RenderTheme.h |
diff --git a/Source/core/rendering/RenderTheme.h b/Source/core/rendering/RenderTheme.h |
index db3953ad3bc9a4f5a539db74f66924c5e7e04990..d95d308e60154b27964d1e9ec3dfb63190058f03 100644 |
--- a/Source/core/rendering/RenderTheme.h |
+++ b/Source/core/rendering/RenderTheme.h |
@@ -62,6 +62,8 @@ public: |
return themeForPage(0); |
}; |
+ static void setSizeIfAuto(RenderStyle*, const IntSize&); |
+ |
// This method is called whenever style has been computed for an element and the appearance |
// property has been set to a value other than "none". The theme should map in all of the appropriate |
// metrics and defaults given the contents of the style. This includes sophisticated operations like |
@@ -313,6 +315,14 @@ protected: |
virtual bool paintMediaFullScreenVolumeSliderTrack(RenderObject*, const PaintInfo&, const IntRect&) { return true; } |
virtual bool paintMediaFullScreenVolumeSliderThumb(RenderObject*, const PaintInfo&, const IntRect&) { return true; } |
+ virtual bool shouldUseFallbackTheme(RenderStyle*) const; |
+ void adjustStyleUsingFallbackTheme(StyleResolver*, RenderStyle*, Element*); |
+ bool paintUsingFallbackTheme(RenderObject*, const PaintInfo&, const IntRect&); |
+ void adjustCheckboxStyleUsingFallbackTheme(StyleResolver*, RenderStyle*, Element*) const; |
+ bool paintCheckboxUsingFallbackTheme(RenderObject*, const PaintInfo&, const IntRect&); |
+ void adjustRadioStyleUsingFallbackTheme(StyleResolver*, RenderStyle*, Element*) const; |
+ bool paintRadioUsingFallbackTheme(RenderObject*, const PaintInfo&, const IntRect&); |
+ |
public: |
// Methods for state querying |
ControlStates controlStatesForRenderer(const RenderObject* o) const; |