| 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 Color inactiveSelectionBackgroundColor() const; | 109 Color inactiveSelectionBackgroundColor() const; |
| 110 Color activeSelectionForegroundColor() const; | 110 Color activeSelectionForegroundColor() const; |
| 111 Color inactiveSelectionForegroundColor() const; | 111 Color inactiveSelectionForegroundColor() const; |
| 112 | 112 |
| 113 // List box selection colors | 113 // List box selection colors |
| 114 Color activeListBoxSelectionBackgroundColor() const; | 114 Color activeListBoxSelectionBackgroundColor() const; |
| 115 Color activeListBoxSelectionForegroundColor() const; | 115 Color activeListBoxSelectionForegroundColor() const; |
| 116 Color inactiveListBoxSelectionBackgroundColor() const; | 116 Color inactiveListBoxSelectionBackgroundColor() const; |
| 117 Color inactiveListBoxSelectionForegroundColor() const; | 117 Color inactiveListBoxSelectionForegroundColor() const; |
| 118 | 118 |
| 119 // Highlighting colors for TextMatches. | 119 // Highlighting and text colors for TextMatches. |
| 120 virtual Color platformActiveTextSearchHighlightColor() const; | 120 virtual Color platformActiveTextSearchHighlightColor() const; |
| 121 virtual Color platformInactiveTextSearchHighlightColor() const; | 121 virtual Color platformInactiveTextSearchHighlightColor() const; |
| 122 virtual Color platformActiveTextSearchColor() const; |
| 123 virtual Color platformInactiveTextSearchColor() const; |
| 122 | 124 |
| 123 Color focusRingColor() const; | 125 Color focusRingColor() const; |
| 124 virtual Color platformFocusRingColor() const { return Color(0, 0, 0); } | 126 virtual Color platformFocusRingColor() const { return Color(0, 0, 0); } |
| 125 void setCustomFocusRingColor(const Color&); | 127 void setCustomFocusRingColor(const Color&); |
| 126 static Color tapHighlightColor(); | 128 static Color tapHighlightColor(); |
| 127 virtual Color platformTapHighlightColor() const { return LayoutTheme::defaul
tTapHighlightColor; } | 129 virtual Color platformTapHighlightColor() const { return LayoutTheme::defaul
tTapHighlightColor; } |
| 128 virtual Color platformDefaultCompositionBackgroundColor() const { return def
aultCompositionBackgroundColor; } | 130 virtual Color platformDefaultCompositionBackgroundColor() const { return def
aultCompositionBackgroundColor; } |
| 129 virtual void platformColorsDidChange(); | 131 virtual void platformColorsDidChange(); |
| 130 | 132 |
| 131 virtual double caretBlinkInterval() const { return 0.5; } | 133 virtual double caretBlinkInterval() const { return 0.5; } |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55; | 252 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55; |
| 251 | 253 |
| 252 #if USE(NEW_THEME) | 254 #if USE(NEW_THEME) |
| 253 Theme* m_platformTheme; // The platform-specific theme. | 255 Theme* m_platformTheme; // The platform-specific theme. |
| 254 #endif | 256 #endif |
| 255 }; | 257 }; |
| 256 | 258 |
| 257 } // namespace blink | 259 } // namespace blink |
| 258 | 260 |
| 259 #endif // LayoutTheme_h | 261 #endif // LayoutTheme_h |
| OLD | NEW |