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

Unified Diff: third_party/WebKit/Source/web/TextFinder.h

Issue 2801483002: Add DocumentMarker::MatchStatus enum for text match markers (Closed)
Patch Set: Update tests 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/web/TextFinder.h
diff --git a/third_party/WebKit/Source/web/TextFinder.h b/third_party/WebKit/Source/web/TextFinder.h
index ea5dd0ad83bfbf1a64d10d972cb12f0a70292f63..2e4513ab39fc2978231843e03e1536ea9d238926 100644
--- a/third_party/WebKit/Source/web/TextFinder.h
+++ b/third_party/WebKit/Source/web/TextFinder.h
@@ -32,6 +32,7 @@
#define TextFinder_h
#include "core/editing/FindOptions.h"
+#include "core/editing/markers/DocumentMarker.h"
#include "platform/geometry/FloatRect.h"
#include "platform/heap/Handle.h"
#include "public/platform/WebFloatPoint.h"
@@ -158,7 +159,7 @@ class WEB_EXPORT TextFinder final
// Sets the markers within a range as active or inactive. Returns true if at
// least one such marker found.
- bool setMarkerActive(Range*, bool active);
+ bool setMarkerActive(Range*, DocumentMarker::MatchStatus);
// Removes all markers.
void unmarkAllTextMatches();

Powered by Google App Engine
This is Rietveld 408576698