| 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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 bool isActive(const RenderObject*) const; | 325 bool isActive(const RenderObject*) const; |
| 326 bool isChecked(const RenderObject*) const; | 326 bool isChecked(const RenderObject*) const; |
| 327 bool isIndeterminate(const RenderObject*) const; | 327 bool isIndeterminate(const RenderObject*) const; |
| 328 bool isEnabled(const RenderObject*) const; | 328 bool isEnabled(const RenderObject*) const; |
| 329 bool isFocused(const RenderObject*) const; | 329 bool isFocused(const RenderObject*) const; |
| 330 bool isPressed(const RenderObject*) const; | 330 bool isPressed(const RenderObject*) const; |
| 331 bool isSpinUpButtonPartPressed(const RenderObject*) const; | 331 bool isSpinUpButtonPartPressed(const RenderObject*) const; |
| 332 bool isHovered(const RenderObject*) const; | 332 bool isHovered(const RenderObject*) const; |
| 333 bool isSpinUpButtonPartHovered(const RenderObject*) const; | 333 bool isSpinUpButtonPartHovered(const RenderObject*) const; |
| 334 bool isReadOnlyControl(const RenderObject*) const; | 334 bool isReadOnlyControl(const RenderObject*) const; |
| 335 bool isDefault(const RenderObject*) const; | |
| 336 | 335 |
| 337 private: | 336 private: |
| 338 mutable Color m_activeSelectionBackgroundColor; | 337 mutable Color m_activeSelectionBackgroundColor; |
| 339 mutable Color m_inactiveSelectionBackgroundColor; | 338 mutable Color m_inactiveSelectionBackgroundColor; |
| 340 mutable Color m_activeSelectionForegroundColor; | 339 mutable Color m_activeSelectionForegroundColor; |
| 341 mutable Color m_inactiveSelectionForegroundColor; | 340 mutable Color m_inactiveSelectionForegroundColor; |
| 342 | 341 |
| 343 mutable Color m_activeListBoxSelectionBackgroundColor; | 342 mutable Color m_activeListBoxSelectionBackgroundColor; |
| 344 mutable Color m_inactiveListBoxSelectionBackgroundColor; | 343 mutable Color m_inactiveListBoxSelectionBackgroundColor; |
| 345 mutable Color m_activeListBoxSelectionForegroundColor; | 344 mutable Color m_activeListBoxSelectionForegroundColor; |
| 346 mutable Color m_inactiveListBoxSelectionForegroundColor; | 345 mutable Color m_inactiveListBoxSelectionForegroundColor; |
| 347 | 346 |
| 348 // This color is expected to be drawn on a semi-transparent overlay, | 347 // This color is expected to be drawn on a semi-transparent overlay, |
| 349 // making it more transparent than its alpha value indicates. | 348 // making it more transparent than its alpha value indicates. |
| 350 static const RGBA32 defaultTapHighlightColor = 0x66000000; | 349 static const RGBA32 defaultTapHighlightColor = 0x66000000; |
| 351 | 350 |
| 352 #if USE(NEW_THEME) | 351 #if USE(NEW_THEME) |
| 353 Theme* m_theme; // The platform-specific theme. | 352 Theme* m_theme; // The platform-specific theme. |
| 354 #endif | 353 #endif |
| 355 }; | 354 }; |
| 356 | 355 |
| 357 } // namespace WebCore | 356 } // namespace WebCore |
| 358 | 357 |
| 359 #endif // RenderTheme_h | 358 #endif // RenderTheme_h |
| OLD | NEW |