| 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, 2006, 2007, 2008, 2009, 2010, 2012 Apple Computer, Inc. | 4 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2012 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 virtual void setRadioSize(ComputedStyle&) const { } | 203 virtual void setRadioSize(ComputedStyle&) const { } |
| 204 | 204 |
| 205 virtual void adjustButtonStyle(ComputedStyle&) const; | 205 virtual void adjustButtonStyle(ComputedStyle&) const; |
| 206 virtual void adjustInnerSpinButtonStyle(ComputedStyle&) const; | 206 virtual void adjustInnerSpinButtonStyle(ComputedStyle&) const; |
| 207 | 207 |
| 208 virtual void adjustMenuListStyle(ComputedStyle&, Element*) const; | 208 virtual void adjustMenuListStyle(ComputedStyle&, Element*) const; |
| 209 virtual void adjustMenuListButtonStyle(ComputedStyle&, Element*) const; | 209 virtual void adjustMenuListButtonStyle(ComputedStyle&, Element*) const; |
| 210 virtual void adjustSliderThumbStyle(ComputedStyle&) const; | 210 virtual void adjustSliderThumbStyle(ComputedStyle&) const; |
| 211 virtual void adjustSearchFieldStyle(ComputedStyle&) const; | 211 virtual void adjustSearchFieldStyle(ComputedStyle&) const; |
| 212 virtual void adjustSearchFieldCancelButtonStyle(ComputedStyle&) const; | 212 virtual void adjustSearchFieldCancelButtonStyle(ComputedStyle&) const; |
| 213 virtual void adjustSearchFieldDecorationStyle(ComputedStyle&) const; | |
| 214 virtual void adjustSearchFieldResultsDecorationStyle(ComputedStyle&) const; | |
| 215 void adjustStyleUsingFallbackTheme(ComputedStyle&); | 213 void adjustStyleUsingFallbackTheme(ComputedStyle&); |
| 216 void adjustCheckboxStyleUsingFallbackTheme(ComputedStyle&) const; | 214 void adjustCheckboxStyleUsingFallbackTheme(ComputedStyle&) const; |
| 217 void adjustRadioStyleUsingFallbackTheme(ComputedStyle&) const; | 215 void adjustRadioStyleUsingFallbackTheme(ComputedStyle&) const; |
| 218 | 216 |
| 219 bool hasPlatformTheme() const { return m_platformTheme; } | 217 bool hasPlatformTheme() const { return m_platformTheme; } |
| 220 | 218 |
| 221 public: | 219 public: |
| 222 // Methods for state querying | 220 // Methods for state querying |
| 223 static ControlStates controlStatesForLayoutObject(const LayoutObject&); | 221 static ControlStates controlStatesForLayoutObject(const LayoutObject&); |
| 224 static bool isActive(const LayoutObject&); | 222 static bool isActive(const LayoutObject&); |
| (...skipping 20 matching lines...) Expand all Loading... |
| 245 static const RGBA32 defaultTapHighlightColor = 0x66000000; | 243 static const RGBA32 defaultTapHighlightColor = 0x66000000; |
| 246 | 244 |
| 247 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55; | 245 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55; |
| 248 | 246 |
| 249 Theme* m_platformTheme; // The platform-specific theme. | 247 Theme* m_platformTheme; // The platform-specific theme. |
| 250 }; | 248 }; |
| 251 | 249 |
| 252 } // namespace blink | 250 } // namespace blink |
| 253 | 251 |
| 254 #endif // LayoutTheme_h | 252 #endif // LayoutTheme_h |
| OLD | NEW |