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 Apple Computer, Inc. | 4 * Copyright (C) 2005 Apple Computer, Inc. |
5 * Copyright (C) 2008, 2009 Google, Inc. | 5 * Copyright (C) 2008, 2009 Google, Inc. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 | 43 |
44 bool IsControlStyled(const ComputedStyle&) const override; | 44 bool IsControlStyled(const ComputedStyle&) const override; |
45 | 45 |
46 Color PlatformActiveSelectionBackgroundColor() const override; | 46 Color PlatformActiveSelectionBackgroundColor() const override; |
47 Color PlatformInactiveSelectionBackgroundColor() const override; | 47 Color PlatformInactiveSelectionBackgroundColor() const override; |
48 Color PlatformActiveSelectionForegroundColor() const override; | 48 Color PlatformActiveSelectionForegroundColor() const override; |
49 Color PlatformActiveListBoxSelectionBackgroundColor() const override; | 49 Color PlatformActiveListBoxSelectionBackgroundColor() const override; |
50 Color PlatformActiveListBoxSelectionForegroundColor() const override; | 50 Color PlatformActiveListBoxSelectionForegroundColor() const override; |
51 Color PlatformInactiveListBoxSelectionBackgroundColor() const override; | 51 Color PlatformInactiveListBoxSelectionBackgroundColor() const override; |
52 Color PlatformInactiveListBoxSelectionForegroundColor() const override; | 52 Color PlatformInactiveListBoxSelectionForegroundColor() const override; |
| 53 Color PlatformSpellingMarkerUnderlineColor() const override; |
| 54 Color PlatformGrammarMarkerUnderlineColor() const override; |
53 Color PlatformFocusRingColor() const override; | 55 Color PlatformFocusRingColor() const override; |
54 | 56 |
55 ScrollbarControlSize ScrollbarControlSizeForPart(ControlPart part) override { | 57 ScrollbarControlSize ScrollbarControlSizeForPart(ControlPart part) override { |
56 return part == kListboxPart ? kSmallScrollbar : kRegularScrollbar; | 58 return part == kListboxPart ? kSmallScrollbar : kRegularScrollbar; |
57 } | 59 } |
58 | 60 |
59 void PlatformColorsDidChange() override; | 61 void PlatformColorsDidChange() override; |
60 | 62 |
61 // System fonts. | 63 // System fonts. |
62 void SystemFont(CSSValueID system_font_id, | 64 void SystemFont(CSSValueID system_font_id, |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 mutable HashMap<int, RGBA32> system_color_cache_; | 202 mutable HashMap<int, RGBA32> system_color_cache_; |
201 | 203 |
202 RetainPtr<BlinkLayoutThemeNotificationObserver> notification_observer_; | 204 RetainPtr<BlinkLayoutThemeNotificationObserver> notification_observer_; |
203 | 205 |
204 ThemePainterMac painter_; | 206 ThemePainterMac painter_; |
205 }; | 207 }; |
206 | 208 |
207 } // namespace blink | 209 } // namespace blink |
208 | 210 |
209 #endif // LayoutThemeMac_h | 211 #endif // LayoutThemeMac_h |
OLD | NEW |