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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 virtual int sliderTickOffsetFromTrackCenter() const OVERRIDE; | 70 virtual int sliderTickOffsetFromTrackCenter() const OVERRIDE; |
71 | 71 |
72 virtual int popupInternalPaddingLeft(RenderStyle*) const OVERRIDE; | 72 virtual int popupInternalPaddingLeft(RenderStyle*) const OVERRIDE; |
73 virtual int popupInternalPaddingRight(RenderStyle*) const OVERRIDE; | 73 virtual int popupInternalPaddingRight(RenderStyle*) const OVERRIDE; |
74 virtual int popupInternalPaddingTop(RenderStyle*) const OVERRIDE; | 74 virtual int popupInternalPaddingTop(RenderStyle*) const OVERRIDE; |
75 virtual int popupInternalPaddingBottom(RenderStyle*) const OVERRIDE; | 75 virtual int popupInternalPaddingBottom(RenderStyle*) const OVERRIDE; |
76 | 76 |
77 virtual bool paintCapsLockIndicator(RenderObject*, const PaintInfo&, const I
ntRect&) OVERRIDE; | 77 virtual bool paintCapsLockIndicator(RenderObject*, const PaintInfo&, const I
ntRect&) OVERRIDE; |
78 | 78 |
79 virtual bool popsMenuByArrowKeys() const OVERRIDE { return true; } | 79 virtual bool popsMenuByArrowKeys() const OVERRIDE { return true; } |
| 80 virtual bool popsMenuBySpaceKey() const OVERRIDE FINAL { return true; } |
80 | 81 |
81 virtual IntSize meterSizeForBounds(const RenderMeter*, const IntRect&) const
OVERRIDE; | 82 virtual IntSize meterSizeForBounds(const RenderMeter*, const IntRect&) const
OVERRIDE; |
82 virtual bool paintMeter(RenderObject*, const PaintInfo&, const IntRect&) OVE
RRIDE; | 83 virtual bool paintMeter(RenderObject*, const PaintInfo&, const IntRect&) OVE
RRIDE; |
83 virtual bool supportsMeter(ControlPart) const OVERRIDE; | 84 virtual bool supportsMeter(ControlPart) const OVERRIDE; |
84 | 85 |
85 // Returns the repeat interval of the animation for the progress bar. | 86 // Returns the repeat interval of the animation for the progress bar. |
86 virtual double animationRepeatIntervalForProgressBar(RenderProgress*) const
OVERRIDE; | 87 virtual double animationRepeatIntervalForProgressBar(RenderProgress*) const
OVERRIDE; |
87 // Returns the duration of the animation for the progress bar. | 88 // Returns the duration of the animation for the progress bar. |
88 virtual double animationDurationForProgressBar(RenderProgress*) const OVERRI
DE; | 89 virtual double animationDurationForProgressBar(RenderProgress*) const OVERRI
DE; |
89 | 90 |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 mutable RetainPtr<NSTextFieldCell> m_textField; | 207 mutable RetainPtr<NSTextFieldCell> m_textField; |
207 | 208 |
208 mutable HashMap<int, RGBA32> m_systemColorCache; | 209 mutable HashMap<int, RGBA32> m_systemColorCache; |
209 | 210 |
210 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver; | 211 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver; |
211 }; | 212 }; |
212 | 213 |
213 } // namespace WebCore | 214 } // namespace WebCore |
214 | 215 |
215 #endif // RenderThemeChromiumMac_h | 216 #endif // RenderThemeChromiumMac_h |
OLD | NEW |