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

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

Issue 2830043002: [DMC #1.92] Move DMC::RemoveMarkersUnderWords() to DMListEditor (Closed)
Patch Set: Update 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/editing/markers/DocumentMarkerListEditor.h
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.h b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.h
index f41907cee207badda861c235886f4f8515d25bcf..72bbecdb2354efaafa6addf9019c89eeb9b8143c 100644
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.h
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.h
@@ -26,6 +26,11 @@ class DocumentMarkerListEditor {
// Returns true if a marker was removed, false otherwise.
static bool RemoveMarkers(MarkerList*, unsigned start_offset, int length);
+ // Returns true if a marker was removed, false otherwise.
+ static bool RemoveMarkersUnderWords(MarkerList*,
+ const String& node_text,
+ const Vector<String>& words);
+
// Returns true if a marker was shifted or removed, false otherwise.
static bool ShiftMarkers(MarkerList*,
unsigned offset,

Powered by Google App Engine
This is Rietveld 408576698