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 * Copyright (C) 2008, 2009 Google, Inc. | 5 * Copyright (C) 2008, 2009 Google, Inc. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 | 58 |
59 virtual void platformColorsDidChange(); | 59 virtual void platformColorsDidChange(); |
60 | 60 |
61 // System fonts. | 61 // System fonts. |
62 virtual void systemFont(int cssValueId, FontDescription&) const; | 62 virtual void systemFont(int cssValueId, FontDescription&) const; |
63 | 63 |
64 virtual int minimumMenuListSize(RenderStyle*) const; | 64 virtual int minimumMenuListSize(RenderStyle*) const; |
65 | 65 |
66 virtual void adjustSliderThumbSize(RenderStyle*, Element*) const; | 66 virtual void adjustSliderThumbSize(RenderStyle*, Element*) const; |
67 | 67 |
68 #if ENABLE(DATALIST_ELEMENT) | |
69 virtual IntSize sliderTickSize() const OVERRIDE; | 68 virtual IntSize sliderTickSize() const OVERRIDE; |
70 virtual int sliderTickOffsetFromTrackCenter() const OVERRIDE; | 69 virtual int sliderTickOffsetFromTrackCenter() const OVERRIDE; |
71 #endif | |
72 | 70 |
73 virtual int popupInternalPaddingLeft(RenderStyle*) const; | 71 virtual int popupInternalPaddingLeft(RenderStyle*) const; |
74 virtual int popupInternalPaddingRight(RenderStyle*) const; | 72 virtual int popupInternalPaddingRight(RenderStyle*) const; |
75 virtual int popupInternalPaddingTop(RenderStyle*) const; | 73 virtual int popupInternalPaddingTop(RenderStyle*) const; |
76 virtual int popupInternalPaddingBottom(RenderStyle*) const; | 74 virtual int popupInternalPaddingBottom(RenderStyle*) const; |
77 | 75 |
78 virtual bool paintCapsLockIndicator(RenderObject*, const PaintInfo&, const I
ntRect&) OVERRIDE; | 76 virtual bool paintCapsLockIndicator(RenderObject*, const PaintInfo&, const I
ntRect&) OVERRIDE; |
79 | 77 |
80 virtual bool popsMenuByArrowKeys() const OVERRIDE { return true; } | 78 virtual bool popsMenuByArrowKeys() const OVERRIDE { return true; } |
81 | 79 |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 bool m_isSliderThumbVerticalPressed; | 220 bool m_isSliderThumbVerticalPressed; |
223 | 221 |
224 mutable HashMap<int, RGBA32> m_systemColorCache; | 222 mutable HashMap<int, RGBA32> m_systemColorCache; |
225 | 223 |
226 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver; | 224 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver; |
227 }; | 225 }; |
228 | 226 |
229 } // namespace WebCore | 227 } // namespace WebCore |
230 | 228 |
231 #endif // RenderThemeChromiumMac_h | 229 #endif // RenderThemeChromiumMac_h |
OLD | NEW |