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

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

Issue 2801483002: Add DocumentMarker::MatchStatus enum for text match markers (Closed)
Patch Set: Use string in JavaScript API Created 3 years, 8 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.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutTheme.h b/third_party/WebKit/Source/core/layout/LayoutTheme.h
index 97442215dc5ed5743f7790a1a60d299f812dca2e..e1363467d228b12821e57ba0e54774c880053bea 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTheme.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTheme.h
@@ -25,6 +25,7 @@
#include "core/CSSValueKeywords.h"
#include "core/CoreExport.h"
+#include "core/editing/markers/DocumentMarker.h"
#include "platform/ThemeTypes.h"
#include "platform/fonts/Font.h"
#include "platform/fonts/FontDescription.h"
@@ -131,8 +132,9 @@ class CORE_EXPORT LayoutTheme : public RefCounted<LayoutTheme> {
Color inactiveListBoxSelectionForegroundColor() const;
// Highlight and text colors for TextMatches.
- Color platformTextSearchHighlightColor(bool activeMatch) const;
- Color platformTextSearchColor(bool activeMatch) const;
+ Color platformTextSearchHighlightColor(
+ DocumentMarker::MatchStatus activeMatch) const;
+ Color platformTextSearchColor(DocumentMarker::MatchStatus activeMatch) const;
Color focusRingColor() const;
virtual Color platformFocusRingColor() const { return Color(0, 0, 0); }

Powered by Google App Engine
This is Rietveld 408576698