summaryrefslogtreecommitdiffstats
path: root/WebCore/rendering/RenderThemeSafari.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/rendering/RenderThemeSafari.h')
-rw-r--r--WebCore/rendering/RenderThemeSafari.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/WebCore/rendering/RenderThemeSafari.h b/WebCore/rendering/RenderThemeSafari.h
index 8ac5acf..fb8ffb0 100644
--- a/WebCore/rendering/RenderThemeSafari.h
+++ b/WebCore/rendering/RenderThemeSafari.h
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2007, 2008 Apple Inc.
+ * Copyright (C) 2009 Kenneth Rohde Christiansen
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -46,8 +47,7 @@ class RenderStyle;
class RenderThemeSafari : public RenderTheme {
public:
- RenderThemeSafari();
- virtual ~RenderThemeSafari();
+ static PassRefPtr<RenderTheme> create();
// A method to obtain the baseline position for a "leaf" control. This will only be used if a baseline
// position cannot be determined by examining child content. Checkboxes and radio buttons are examples of
@@ -69,6 +69,8 @@ public:
virtual Color platformInactiveSelectionBackgroundColor() const;
virtual Color activeListBoxSelectionBackgroundColor() const;
+ virtual Color platformFocusRingColor() const;
+
// System fonts.
virtual void systemFont(int propId, FontDescription&) const;
@@ -137,6 +139,9 @@ protected:
#endif
private:
+ RenderThemeSafari();
+ virtual ~RenderThemeSafari();
+
IntRect inflateRect(const IntRect&, const IntSize&, const int* margins) const;
// Get the control size based off the font. Used by some of the controls (like buttons).