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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTheme.cpp

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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutTheme.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTheme.cpp b/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
index 17d1f9a9bd35c89eee5eb665dd04a749704a2d0c..9bbe8ea8d9836a033dfeeab7fa72b82943c00f1a 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
@@ -332,6 +332,14 @@ Color LayoutTheme::InactiveListBoxSelectionForegroundColor() const {
return PlatformInactiveListBoxSelectionForegroundColor();
}
+Color LayoutTheme::PlatformSpellingMarkerUnderlineColor() const {
+ return Color(255, 0, 0);
+}
+
+Color LayoutTheme::PlatformGrammarMarkerUnderlineColor() const {
+ return Color(192, 192, 192);
+}
+
Color LayoutTheme::PlatformActiveSelectionBackgroundColor() const {
// Use a blue color by default if the platform theme doesn't define anything.
return Color(0, 0, 255);
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTheme.h ('k') | third_party/WebKit/Source/core/layout/LayoutThemeMac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698