| 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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 } | 333 } |
| 334 | 334 |
| 335 Color LayoutTheme::PlatformSpellingMarkerUnderlineColor() const { | 335 Color LayoutTheme::PlatformSpellingMarkerUnderlineColor() const { |
| 336 return Color(255, 0, 0); | 336 return Color(255, 0, 0); |
| 337 } | 337 } |
| 338 | 338 |
| 339 Color LayoutTheme::PlatformGrammarMarkerUnderlineColor() const { | 339 Color LayoutTheme::PlatformGrammarMarkerUnderlineColor() const { |
| 340 return Color(192, 192, 192); | 340 return Color(192, 192, 192); |
| 341 } | 341 } |
| 342 | 342 |
| 343 Color LayoutTheme::PlatformActiveSpellingMarkerHighlightColor() const { |
| 344 return Color(255, 0, 0, 102); |
| 345 } |
| 346 |
| 343 Color LayoutTheme::PlatformActiveSelectionBackgroundColor() const { | 347 Color LayoutTheme::PlatformActiveSelectionBackgroundColor() const { |
| 344 // Use a blue color by default if the platform theme doesn't define anything. | 348 // Use a blue color by default if the platform theme doesn't define anything. |
| 345 return Color(0, 0, 255); | 349 return Color(0, 0, 255); |
| 346 } | 350 } |
| 347 | 351 |
| 348 Color LayoutTheme::PlatformActiveSelectionForegroundColor() const { | 352 Color LayoutTheme::PlatformActiveSelectionForegroundColor() const { |
| 349 // Use a white color by default if the platform theme doesn't define anything. | 353 // Use a white color by default if the platform theme doesn't define anything. |
| 350 return Color::kWhite; | 354 return Color::kWhite; |
| 351 } | 355 } |
| 352 | 356 |
| (...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 918 // padding - not honored by WinIE, needs to be removed. | 922 // padding - not honored by WinIE, needs to be removed. |
| 919 style.ResetPadding(); | 923 style.ResetPadding(); |
| 920 | 924 |
| 921 // border - honored by WinIE, but looks terrible (just paints in the control | 925 // border - honored by WinIE, but looks terrible (just paints in the control |
| 922 // box and turns off the Windows XP theme) | 926 // box and turns off the Windows XP theme) |
| 923 // for now, we will not honor it. | 927 // for now, we will not honor it. |
| 924 style.ResetBorder(); | 928 style.ResetBorder(); |
| 925 } | 929 } |
| 926 | 930 |
| 927 } // namespace blink | 931 } // namespace blink |
| OLD | NEW |