| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008, 2009 Google, Inc. | 3 * Copyright (C) 2008, 2009 Google, Inc. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 } | 185 } |
| 186 | 186 |
| 187 Color LayoutThemeMac::PlatformActiveListBoxSelectionForegroundColor() const { | 187 Color LayoutThemeMac::PlatformActiveListBoxSelectionForegroundColor() const { |
| 188 return Color::kWhite; | 188 return Color::kWhite; |
| 189 } | 189 } |
| 190 | 190 |
| 191 Color LayoutThemeMac::PlatformInactiveListBoxSelectionForegroundColor() const { | 191 Color LayoutThemeMac::PlatformInactiveListBoxSelectionForegroundColor() const { |
| 192 return Color::kBlack; | 192 return Color::kBlack; |
| 193 } | 193 } |
| 194 | 194 |
| 195 Color LayoutThemeMac::PlatformSpellingMarkerUnderlineColor() const { |
| 196 return Color(251, 45, 29); |
| 197 } |
| 198 |
| 199 Color LayoutThemeMac::PlatformGrammarMarkerUnderlineColor() const { |
| 200 return Color(107, 107, 107); |
| 201 } |
| 202 |
| 195 Color LayoutThemeMac::PlatformFocusRingColor() const { | 203 Color LayoutThemeMac::PlatformFocusRingColor() const { |
| 196 static const RGBA32 kOldAquaFocusRingColor = 0xFF7DADD9; | 204 static const RGBA32 kOldAquaFocusRingColor = 0xFF7DADD9; |
| 197 if (UsesTestModeFocusRingColor()) | 205 if (UsesTestModeFocusRingColor()) |
| 198 return kOldAquaFocusRingColor; | 206 return kOldAquaFocusRingColor; |
| 199 | 207 |
| 200 return SystemColor(CSSValueWebkitFocusRingColor); | 208 return SystemColor(CSSValueWebkitFocusRingColor); |
| 201 } | 209 } |
| 202 | 210 |
| 203 Color LayoutThemeMac::PlatformInactiveListBoxSelectionBackgroundColor() const { | 211 Color LayoutThemeMac::PlatformInactiveListBoxSelectionBackgroundColor() const { |
| 204 return PlatformInactiveSelectionBackgroundColor(); | 212 return PlatformInactiveSelectionBackgroundColor(); |
| (...skipping 910 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1115 } | 1123 } |
| 1116 | 1124 |
| 1117 bool LayoutThemeMac::ShouldUseFallbackTheme(const ComputedStyle& style) const { | 1125 bool LayoutThemeMac::ShouldUseFallbackTheme(const ComputedStyle& style) const { |
| 1118 ControlPart part = style.Appearance(); | 1126 ControlPart part = style.Appearance(); |
| 1119 if (part == kCheckboxPart || part == kRadioPart) | 1127 if (part == kCheckboxPart || part == kRadioPart) |
| 1120 return style.EffectiveZoom() != 1; | 1128 return style.EffectiveZoom() != 1; |
| 1121 return false; | 1129 return false; |
| 1122 } | 1130 } |
| 1123 | 1131 |
| 1124 } // namespace blink | 1132 } // namespace blink |
| OLD | NEW |