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..b7e6e6924856b15c921ae2fe694107c8fe5dde6e 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::SpellingMarkerUnderlineColor() const { |
+ return PlatformSpellingMarkerUnderlineColor(); |
+} |
+ |
+Color LayoutTheme::GrammarMarkerUnderlineColor() const { |
+ return PlatformGrammarMarkerUnderlineColor(); |
+} |
+ |
Color LayoutTheme::PlatformActiveSelectionBackgroundColor() const { |
// Use a blue color by default if the platform theme doesn't define anything. |
return Color(0, 0, 255); |
@@ -369,6 +377,14 @@ Color LayoutTheme::PlatformInactiveListBoxSelectionForegroundColor() const { |
return PlatformInactiveSelectionForegroundColor(); |
} |
+Color LayoutTheme::PlatformSpellingMarkerUnderlineColor() const { |
+ return Color(255, 0, 0); |
+} |
+ |
+Color LayoutTheme::PlatformGrammarMarkerUnderlineColor() const { |
+ return Color(192, 192, 192); |
+} |
+ |
int LayoutTheme::BaselinePosition(const LayoutObject* o) const { |
if (!o->IsBox()) |
return 0; |