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

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

Issue 2806683002: Don't ever split DocumentMarkers on remove (Closed)
Patch Set: Rebase on test cases I'm adding in another CL 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h
index 73440cd7353a84d64d7353e3ed67a3a71141c0f4..6d7a4b311f8b173732eef69d78376075e28f91e4 100644
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h
@@ -89,17 +89,14 @@ class CORE_EXPORT DocumentMarkerController final
kDoNotRemovePartiallyOverlappingMarker,
kRemovePartiallyOverlappingMarker
};
- void RemoveMarkers(const EphemeralRange&,
- DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers(),
- RemovePartiallyOverlappingMarkerOrNot =
- kDoNotRemovePartiallyOverlappingMarker);
- void RemoveMarkers(Node*,
- unsigned start_offset,
- int length,
- DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers(),
- RemovePartiallyOverlappingMarkerOrNot =
- kDoNotRemovePartiallyOverlappingMarker);
-
+ void RemoveMarkers(
+ const EphemeralRange&,
+ DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers());
+ void RemoveMarkers(
+ Node*,
+ unsigned start_offset,
+ int length,
+ DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers());
void RemoveMarkers(
DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers());
void RemoveMarkers(
@@ -151,9 +148,7 @@ class CORE_EXPORT DocumentMarkerController final
void MergeOverlapping(MarkerList*, RenderedDocumentMarker*);
bool PossiblyHasMarkers(DocumentMarker::MarkerTypes);
void RemoveMarkersFromList(MarkerMap::iterator, DocumentMarker::MarkerTypes);
- void RemoveMarkers(TextIterator&,
- DocumentMarker::MarkerTypes,
- RemovePartiallyOverlappingMarkerOrNot);
+ void RemoveMarkers(TextIterator&, DocumentMarker::MarkerTypes);
MarkerMap markers_;
// Provide a quick way to determine whether a particular marker type is absent
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698