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; } | |
81 virtual bool popsMenuByReturnKey() const OVERRIDE FINAL { return true; } | |
keishi
2014/07/09 03:38:21
This should be false. On mac the popup should be o
| |
80 | 82 |
81 virtual IntSize meterSizeForBounds(const RenderMeter*, const IntRect&) const OVERRIDE; | 83 virtual IntSize meterSizeForBounds(const RenderMeter*, const IntRect&) const OVERRIDE; |
82 virtual bool paintMeter(RenderObject*, const PaintInfo&, const IntRect&) OVE RRIDE; | 84 virtual bool paintMeter(RenderObject*, const PaintInfo&, const IntRect&) OVE RRIDE; |
83 virtual bool supportsMeter(ControlPart) const OVERRIDE; | 85 virtual bool supportsMeter(ControlPart) const OVERRIDE; |
84 | 86 |
85 // Returns the repeat interval of the animation for the progress bar. | 87 // Returns the repeat interval of the animation for the progress bar. |
86 virtual double animationRepeatIntervalForProgressBar(RenderProgress*) const OVERRIDE; | 88 virtual double animationRepeatIntervalForProgressBar(RenderProgress*) const OVERRIDE; |
87 // Returns the duration of the animation for the progress bar. | 89 // Returns the duration of the animation for the progress bar. |
88 virtual double animationDurationForProgressBar(RenderProgress*) const OVERRI DE; | 90 virtual double animationDurationForProgressBar(RenderProgress*) const OVERRI DE; |
89 | 91 |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
206 mutable RetainPtr<NSTextFieldCell> m_textField; | 208 mutable RetainPtr<NSTextFieldCell> m_textField; |
207 | 209 |
208 mutable HashMap<int, RGBA32> m_systemColorCache; | 210 mutable HashMap<int, RGBA32> m_systemColorCache; |
209 | 211 |
210 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver; | 212 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver; |
211 }; | 213 }; |
212 | 214 |
213 } // namespace WebCore | 215 } // namespace WebCore |
214 | 216 |
215 #endif // RenderThemeChromiumMac_h | 217 #endif // RenderThemeChromiumMac_h |
OLD | NEW |