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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutTheme.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutTheme.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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, 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
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
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
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutTheme.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698