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

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

Issue 1468913002: Find In Page hides the text when text color matches text search hightlight color. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added descriptive variable name in function declarations Created 5 years, 1 month 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 85b2c3c282090fe7389b2622cbbd8cc1280391f8..d437f7ddacc05804947319427b4fa63ff07f179d 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
@@ -825,6 +825,16 @@ Color LayoutTheme::platformInactiveTextSearchHighlightColor() const
return Color(255, 255, 0); // Yellow.
}
+Color LayoutTheme::platformActiveTextSearchColor() const
+{
+ return Color::black;
+}
+
+Color LayoutTheme::platformInactiveTextSearchColor() const
+{
+ return Color::black;
+}
+
Color LayoutTheme::tapHighlightColor()
{
return theme().platformTapHighlightColor();

Powered by Google App Engine
This is Rietveld 408576698