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

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 testcase 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..f8c31961ba608896f4e3d6fae0f71aa6a571d612 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(0, 0, 0); // Black.
rwlbuis 2015/11/30 15:39:52 You should be able to use Color::black here, that
ramya.v 2015/12/01 03:52:41 Done.
+}
+
+Color LayoutTheme::platformInactiveTextSearchColor() const
+{
+ return Color(0, 0, 0); // Black.
rwlbuis 2015/11/30 15:39:52 Ditto.
ramya.v 2015/12/01 03:52:41 Done.
+}
+
Color LayoutTheme::tapHighlightColor()
{
return theme().platformTapHighlightColor();

Powered by Google App Engine
This is Rietveld 408576698