summaryrefslogtreecommitdiff
path: root/Source/WebCore/rendering/RenderThemeWin.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/rendering/RenderThemeWin.h')
-rw-r--r--Source/WebCore/rendering/RenderThemeWin.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/Source/WebCore/rendering/RenderThemeWin.h b/Source/WebCore/rendering/RenderThemeWin.h
index b97f30004..9514554fc 100644
--- a/Source/WebCore/rendering/RenderThemeWin.h
+++ b/Source/WebCore/rendering/RenderThemeWin.h
@@ -1,7 +1,7 @@
/*
* This file is part of the WebKit project.
*
- * Copyright (C) 2006, 2008 Apple Computer, Inc.
+ * Copyright (C) 2006, 2008, 2013 Apple Computer, Inc.
* Copyright (C) 2009 Kenneth Rohde Christiansen
*
* This library is free software; you can redistribute it and/or
@@ -63,8 +63,8 @@ public:
virtual Color platformInactiveSelectionForegroundColor() const;
// System fonts.
- virtual void systemFont(int propId, FontDescription&) const;
- virtual Color systemColor(int cssValueId) const;
+ virtual void systemFont(CSSValueID, FontDescription&) const;
+ virtual Color systemColor(CSSValueID) const;
virtual bool paintCheckbox(RenderObject* o, const PaintInfo& i, const IntRect& r)
{ return paintButton(o, i, r); }
@@ -144,6 +144,13 @@ public:
virtual IntPoint volumeSliderOffsetFromMuteButton(RenderBox*, const IntSize&) const OVERRIDE;
#endif
+#if ENABLE(METER_ELEMENT)
+ virtual IntSize meterSizeForBounds(const RenderMeter*, const IntRect&) const OVERRIDE;
+ virtual bool supportsMeter(ControlPart) const OVERRIDE;
+ virtual void adjustMeterStyle(StyleResolver*, RenderStyle*, Element*) const OVERRIDE;
+ virtual bool paintMeter(RenderObject*, const PaintInfo&, const IntRect&) OVERRIDE;
+#endif
+
virtual bool shouldShowPlaceholderWhenFocused() const { return true; }
private:
@@ -154,7 +161,7 @@ private:
};
RenderThemeWin();
- ~RenderThemeWin();
+ virtual ~RenderThemeWin();
void addIntrinsicMargins(RenderStyle*) const;
void close();
@@ -175,12 +182,14 @@ private:
HANDLE menuListTheme() const;
HANDLE sliderTheme() const;
HANDLE spinButtonTheme() const;
+ HANDLE progressBarTheme() const;
mutable HANDLE m_buttonTheme;
mutable HANDLE m_textFieldTheme;
mutable HANDLE m_menuListTheme;
mutable HANDLE m_sliderTheme;
mutable HANDLE m_spinButtonTheme;
+ mutable HANDLE m_progressBarTheme;
};
};