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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 | 79 |
80 // Returns the repeat interval of the animation for the progress bar. | 80 // Returns the repeat interval of the animation for the progress bar. |
81 virtual double animationRepeatIntervalForProgressBar(RenderProgress*) const
OVERRIDE; | 81 virtual double animationRepeatIntervalForProgressBar(RenderProgress*) const
OVERRIDE; |
82 // Returns the duration of the animation for the progress bar. | 82 // Returns the duration of the animation for the progress bar. |
83 virtual double animationDurationForProgressBar(RenderProgress*) const OVERRI
DE; | 83 virtual double animationDurationForProgressBar(RenderProgress*) const OVERRI
DE; |
84 | 84 |
85 virtual Color systemColor(CSSValueID) const OVERRIDE; | 85 virtual Color systemColor(CSSValueID) const OVERRIDE; |
86 | 86 |
87 virtual bool supportsSelectionForegroundColors() const OVERRIDE { return fal
se; } | 87 virtual bool supportsSelectionForegroundColors() const OVERRIDE { return fal
se; } |
88 | 88 |
| 89 virtual bool isModalColorChooser() const { return false; } |
| 90 |
89 protected: | 91 protected: |
90 RenderThemeChromiumMac(); | 92 RenderThemeChromiumMac(); |
91 virtual ~RenderThemeChromiumMac(); | 93 virtual ~RenderThemeChromiumMac(); |
92 | 94 |
93 virtual bool paintTextField(RenderObject*, const PaintInfo&, const IntRect&)
OVERRIDE; | 95 virtual bool paintTextField(RenderObject*, const PaintInfo&, const IntRect&)
OVERRIDE; |
94 | 96 |
95 virtual bool paintTextArea(RenderObject*, const PaintInfo&, const IntRect&)
OVERRIDE; | 97 virtual bool paintTextArea(RenderObject*, const PaintInfo&, const IntRect&)
OVERRIDE; |
96 | 98 |
97 virtual bool paintMenuList(RenderObject*, const PaintInfo&, const IntRect&)
OVERRIDE; | 99 virtual bool paintMenuList(RenderObject*, const PaintInfo&, const IntRect&)
OVERRIDE; |
98 virtual void adjustMenuListStyle(RenderStyle*, Element*) const OVERRIDE; | 100 virtual void adjustMenuListStyle(RenderStyle*, Element*) const OVERRIDE; |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 mutable RetainPtr<NSTextFieldCell> m_textField; | 201 mutable RetainPtr<NSTextFieldCell> m_textField; |
200 | 202 |
201 mutable HashMap<int, RGBA32> m_systemColorCache; | 203 mutable HashMap<int, RGBA32> m_systemColorCache; |
202 | 204 |
203 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver; | 205 RetainPtr<WebCoreRenderThemeNotificationObserver> m_notificationObserver; |
204 }; | 206 }; |
205 | 207 |
206 } // namespace blink | 208 } // namespace blink |
207 | 209 |
208 #endif // RenderThemeChromiumMac_h | 210 #endif // RenderThemeChromiumMac_h |
OLD | NEW |