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

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

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: Addressed comments Created 5 years 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.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutTheme.h b/third_party/WebKit/Source/core/layout/LayoutTheme.h
index 9bee55fef1c8ecd80e77971157bad99b71f76759..bab7c4d71755405f87ac3d977da8538c289c2e0e 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTheme.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTheme.h
@@ -116,9 +116,9 @@ public:
Color inactiveListBoxSelectionBackgroundColor() const;
Color inactiveListBoxSelectionForegroundColor() const;
- // Highlighting colors for TextMatches.
- virtual Color platformActiveTextSearchHighlightColor() const;
- virtual Color platformInactiveTextSearchHighlightColor() const;
+ // Highlight and text colors for TextMatches.
+ Color platformTextSearchHighlightColor(bool activeMatch) const;
+ Color platformTextSearchColor(bool activeMatch) const;
Color focusRingColor() const;
virtual Color platformFocusRingColor() const { return Color(0, 0, 0); }

Powered by Google App Engine
This is Rietveld 408576698