Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutThemeMac.h

Issue 2932913002: Move spellcheck underline colors into LayoutTheme (Closed)
Patch Set: Fix Mac buildc Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTheme.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutThemeMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698