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

Unified Diff: third_party/WebKit/Source/core/editing/markers/DocumentMarker.h

Issue 2764783004: Add DocumentMarker::createTextMatchMarker() (Closed)
Patch Set: Rebase Created 3 years, 9 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/editing/markers/DocumentMarker.h
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h b/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h
index 20b57517e9a8f134bd15bdf80775d2cda3b583ce..f09a4f3b36d02385ba9e69fc788a45ec18c810de 100644
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h
@@ -139,12 +139,14 @@ class CORE_EXPORT DocumentMarker : public GarbageCollected<DocumentMarker> {
Color underlineColor,
bool thick,
Color backgroundColor);
+ static DocumentMarker* createTextMatchMarker(unsigned startOffset,
+ unsigned endOffset,
+ bool activeMatch);
DocumentMarker(MarkerType,
unsigned startOffset,
unsigned endOffset,
const String& description);
- DocumentMarker(unsigned startOffset, unsigned endOffset, bool activeMatch);
DocumentMarker(const DocumentMarker&);

Powered by Google App Engine
This is Rietveld 408576698