diff options
Diffstat (limited to 'WebCore/rendering/RenderTheme.cpp')
-rw-r--r-- | WebCore/rendering/RenderTheme.cpp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/WebCore/rendering/RenderTheme.cpp b/WebCore/rendering/RenderTheme.cpp index f1e564b..b3b7a1e 100644 --- a/WebCore/rendering/RenderTheme.cpp +++ b/WebCore/rendering/RenderTheme.cpp @@ -213,6 +213,10 @@ void RenderTheme::adjustStyle(CSSStyleSelector* selector, RenderStyle* style, El return adjustSearchFieldResultsDecorationStyle(selector, style, e); case SearchFieldResultsButtonPart: return adjustSearchFieldResultsButtonStyle(selector, style, e); +#if ENABLE(PROGRESS_TAG) + case ProgressBarPart: + return adjustProgressBarStyle(selector, style, e); +#endif default: break; } @@ -271,6 +275,10 @@ bool RenderTheme::paint(RenderObject* o, const RenderObject::PaintInfo& paintInf #endif case MenulistPart: return paintMenuList(o, paintInfo, r); +#if ENABLE(PROGRESS_TAG) + case ProgressBarPart: + return paintProgressBar(o, paintInfo, r); +#endif case SliderHorizontalPart: case SliderVerticalPart: return paintSliderTrack(o, paintInfo, r); @@ -361,6 +369,9 @@ bool RenderTheme::paintBorderOnly(RenderObject* o, const RenderObject::PaintInfo case DefaultButtonPart: case ButtonPart: case MenulistPart: +#if ENABLE(PROGRESS_TAG) + case ProgressBarPart: +#endif case SliderHorizontalPart: case SliderVerticalPart: case SliderThumbHorizontalPart: @@ -396,6 +407,9 @@ bool RenderTheme::paintDecorations(RenderObject* o, const RenderObject::PaintInf case DefaultButtonPart: case ButtonPart: case MenulistPart: +#if ENABLE(PROGRESS_TAG) + case ProgressBarPart: +#endif case SliderHorizontalPart: case SliderVerticalPart: case SliderThumbHorizontalPart: @@ -829,6 +843,22 @@ void RenderTheme::adjustMenuListStyle(CSSStyleSelector*, RenderStyle*, Element*) { } +#if ENABLE(PROGRESS_TAG) +double RenderTheme::animationRepeatIntervalForProgressBar(RenderProgress*) const +{ + return 0; +} + +double RenderTheme::animationDurationForProgressBar(RenderProgress*) const +{ + return 0; +} + +void RenderTheme::adjustProgressBarStyle(CSSStyleSelector*, RenderStyle*, Element*) const +{ +} +#endif + void RenderTheme::adjustMenuListButtonStyle(CSSStyleSelector*, RenderStyle*, Element*) const { } |