summaryrefslogtreecommitdiff
path: root/Source/WebCore/rendering/RenderTheme.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/rendering/RenderTheme.h')
-rw-r--r--Source/WebCore/rendering/RenderTheme.h22
1 files changed, 8 insertions, 14 deletions
diff --git a/Source/WebCore/rendering/RenderTheme.h b/Source/WebCore/rendering/RenderTheme.h
index bbb86e192..d3b92b2b1 100644
--- a/Source/WebCore/rendering/RenderTheme.h
+++ b/Source/WebCore/rendering/RenderTheme.h
@@ -86,17 +86,15 @@ public:
// RenderThemeMac.cpp for Mac OS X.
// These methods return the theme's extra style sheets rules, to let each platform
- // adjust the default CSS rules in html.css, quirks.css, or mediaControls.css
+ // adjust the default CSS rules in html.css, quirks.css, mediaControls.css, or plugIns.css
virtual String extraDefaultStyleSheet() { return String(); }
virtual String extraQuirksStyleSheet() { return String(); }
+ virtual String extraPlugInsStyleSheet() { return String(); }
#if ENABLE(VIDEO)
- virtual String extraMediaControlsStyleSheet() { return String(); };
+ virtual String extraMediaControlsStyleSheet() { return String(); }
#endif
#if ENABLE(FULLSCREEN_API)
- virtual String extraFullScreenStyleSheet() { return String(); };
-#endif
-#if ENABLE(CALENDAR_PICKER)
- virtual CString extraCalendarPickerStyleSheet();
+ virtual String extraFullScreenStyleSheet() { return String(); }
#endif
// A method to obtain the baseline position for a "leaf" control. This will only be used if a baseline
@@ -138,11 +136,6 @@ public:
// A method asking if the platform is able to show datalist suggestions for a given input type.
virtual bool supportsDataListUI(const AtomicString&) const { return false; }
-#if ENABLE(INPUT_MULTIPLE_FIELDS_UI)
- // A method asking if the platform is able to show a calendar picker for a given input type.
- virtual bool supportsCalendarPicker(const AtomicString&) const { return false; }
-#endif
-
// Text selection colors.
Color activeSelectionBackgroundColor() const;
Color inactiveSelectionBackgroundColor() const;
@@ -173,8 +166,8 @@ public:
virtual double caretBlinkInterval() const { return 0.5; }
// System fonts and colors for CSS.
- virtual void systemFont(int cssValueId, FontDescription&) const = 0;
- virtual Color systemColor(int cssValueId) const;
+ virtual void systemFont(CSSValueID, FontDescription&) const = 0;
+ virtual Color systemColor(CSSValueID) const;
virtual int minimumMenuListSize(RenderStyle*) const { return 0; }
@@ -207,7 +200,6 @@ public:
virtual bool usesVerticalVolumeSlider() const { return true; }
virtual double mediaControlsFadeInDuration() { return 0.1; }
virtual double mediaControlsFadeOutDuration() { return 0.3; }
- virtual double timeWithoutMouseMovementBeforeHidingControls() { return 3.0; }
virtual String formatMediaControlsTime(float time) const;
virtual String formatMediaControlsCurrentTime(float currentTime, float duration) const;
virtual String formatMediaControlsRemainingTime(float currentTime, float duration) const;
@@ -347,6 +339,8 @@ protected:
virtual bool paintMediaFullScreenVolumeSliderTrack(RenderObject*, const PaintInfo&, const IntRect&) { return true; }
virtual bool paintMediaFullScreenVolumeSliderThumb(RenderObject*, const PaintInfo&, const IntRect&) { return true; }
+ virtual bool paintSnapshottedPluginOverlay(RenderObject*, const PaintInfo&, const IntRect&) { return true; }
+
public:
// Methods for state querying
ControlStates controlStatesForRenderer(const RenderObject* o) const;