| 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 Color InactiveSelectionBackgroundColor() const; | 123 Color InactiveSelectionBackgroundColor() const; |
| 124 Color ActiveSelectionForegroundColor() const; | 124 Color ActiveSelectionForegroundColor() const; |
| 125 Color InactiveSelectionForegroundColor() const; | 125 Color InactiveSelectionForegroundColor() const; |
| 126 | 126 |
| 127 // List box selection colors | 127 // List box selection colors |
| 128 Color ActiveListBoxSelectionBackgroundColor() const; | 128 Color ActiveListBoxSelectionBackgroundColor() const; |
| 129 Color ActiveListBoxSelectionForegroundColor() const; | 129 Color ActiveListBoxSelectionForegroundColor() const; |
| 130 Color InactiveListBoxSelectionBackgroundColor() const; | 130 Color InactiveListBoxSelectionBackgroundColor() const; |
| 131 Color InactiveListBoxSelectionForegroundColor() const; | 131 Color InactiveListBoxSelectionForegroundColor() const; |
| 132 | 132 |
| 133 virtual Color PlatformSpellingMarkerUnderlineColor() const; |
| 134 virtual Color PlatformGrammarMarkerUnderlineColor() const; |
| 135 |
| 133 // Highlight and text colors for TextMatches. | 136 // Highlight and text colors for TextMatches. |
| 134 Color PlatformTextSearchHighlightColor(bool active_match) const; | 137 Color PlatformTextSearchHighlightColor(bool active_match) const; |
| 135 Color PlatformTextSearchColor(bool active_match) const; | 138 Color PlatformTextSearchColor(bool active_match) const; |
| 136 | 139 |
| 137 Color FocusRingColor() const; | 140 Color FocusRingColor() const; |
| 138 virtual Color PlatformFocusRingColor() const { return Color(0, 0, 0); } | 141 virtual Color PlatformFocusRingColor() const { return Color(0, 0, 0); } |
| 139 void SetCustomFocusRingColor(const Color&); | 142 void SetCustomFocusRingColor(const Color&); |
| 140 static Color TapHighlightColor(); | 143 static Color TapHighlightColor(); |
| 141 virtual Color PlatformTapHighlightColor() const { | 144 virtual Color PlatformTapHighlightColor() const { |
| 142 return LayoutTheme::kDefaultTapHighlightColor; | 145 return LayoutTheme::kDefaultTapHighlightColor; |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 static const RGBA32 kDefaultTapHighlightColor = 0x66000000; | 293 static const RGBA32 kDefaultTapHighlightColor = 0x66000000; |
| 291 | 294 |
| 292 static const RGBA32 kDefaultCompositionBackgroundColor = 0xFFFFDD55; | 295 static const RGBA32 kDefaultCompositionBackgroundColor = 0xFFFFDD55; |
| 293 | 296 |
| 294 Theme* platform_theme_; // The platform-specific theme. | 297 Theme* platform_theme_; // The platform-specific theme. |
| 295 }; | 298 }; |
| 296 | 299 |
| 297 } // namespace blink | 300 } // namespace blink |
| 298 | 301 |
| 299 #endif // LayoutTheme_h | 302 #endif // LayoutTheme_h |
| OLD | NEW |