OLD | NEW |
1 /* | 1 /* |
2 * This file is part of the theme implementation for form controls in WebCore. | 2 * This file is part of the theme implementation for form controls in WebCore. |
3 * | 3 * |
4 * Copyright (C) 2005 Apple Computer, Inc. | 4 * Copyright (C) 2005 Apple Computer, Inc. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 virtual bool isControlStyled(const RenderStyle*, const BorderData&, | 53 virtual bool isControlStyled(const RenderStyle*, const BorderData&, |
54 const FillLayer&, const Color& backgroundColor)
const; | 54 const FillLayer&, const Color& backgroundColor)
const; |
55 | 55 |
56 virtual Color platformActiveSelectionBackgroundColor() const; | 56 virtual Color platformActiveSelectionBackgroundColor() const; |
57 virtual Color platformInactiveSelectionBackgroundColor() const; | 57 virtual Color platformInactiveSelectionBackgroundColor() const; |
58 virtual Color platformActiveListBoxSelectionBackgroundColor() const; | 58 virtual Color platformActiveListBoxSelectionBackgroundColor() const; |
59 virtual Color platformActiveListBoxSelectionForegroundColor() const; | 59 virtual Color platformActiveListBoxSelectionForegroundColor() const; |
60 virtual Color platformInactiveListBoxSelectionBackgroundColor() const; | 60 virtual Color platformInactiveListBoxSelectionBackgroundColor() const; |
61 virtual Color platformInactiveListBoxSelectionForegroundColor() const; | 61 virtual Color platformInactiveListBoxSelectionForegroundColor() const; |
62 | 62 |
| 63 virtual ScrollbarControlSize scrollbarControlSizeForPart(ControlPart) { retu
rn SmallScrollbar; } |
| 64 |
63 virtual void platformColorsDidChange(); | 65 virtual void platformColorsDidChange(); |
64 | 66 |
65 // System fonts. | 67 // System fonts. |
66 virtual void systemFont(int cssValueId, FontDescription&) const; | 68 virtual void systemFont(int cssValueId, FontDescription&) const; |
67 | 69 |
68 virtual int minimumMenuListSize(RenderStyle*) const; | 70 virtual int minimumMenuListSize(RenderStyle*) const; |
69 | 71 |
70 virtual void adjustSliderThumbSize(RenderObject*) const; | 72 virtual void adjustSliderThumbSize(RenderObject*) const; |
71 | 73 |
72 virtual int popupInternalPaddingLeft(RenderStyle*) const; | 74 virtual int popupInternalPaddingLeft(RenderStyle*) const; |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 bool m_isSliderThumbVerticalPressed; | 184 bool m_isSliderThumbVerticalPressed; |
183 | 185 |
184 mutable HashMap<int, RGBA32> m_systemColorCache; | 186 mutable HashMap<int, RGBA32> m_systemColorCache; |
185 | 187 |
186 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver; | 188 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver; |
187 }; | 189 }; |
188 | 190 |
189 } // namespace WebCore | 191 } // namespace WebCore |
190 | 192 |
191 #endif // RenderThemeMac_h | 193 #endif // RenderThemeMac_h |
OLD | NEW |