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

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

Issue 2723663002: Refactor DocumentMarkerController (Closed)
Patch Set: Use correct base commit 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/EditingMarkerListThatMergesTouchingMarkers.h
diff --git a/third_party/WebKit/Source/core/editing/markers/EditingMarkerListThatMergesTouchingMarkers.h b/third_party/WebKit/Source/core/editing/markers/EditingMarkerListThatMergesTouchingMarkers.h
new file mode 100644
index 0000000000000000000000000000000000000000..3ac379b1359063375072682cb34d94a77f5030c3
--- /dev/null
+++ b/third_party/WebKit/Source/core/editing/markers/EditingMarkerListThatMergesTouchingMarkers.h
@@ -0,0 +1,24 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef EditingMarkerListThatMergesTouchingMarkers_h
+#define EditingMarkerListThatMergesTouchingMarkers_h
+
+#include "core/editing/markers/EditingMarkerList.h"
+
+namespace blink {
+
+class EditingMarkerListThatMergesTouchingMarkers : public EditingMarkerList {
Xiaocheng 2017/03/21 19:12:11 The two subclasses of this class basically share t
+ WTF_MAKE_NONCOPYABLE(EditingMarkerListThatMergesTouchingMarkers);
+
+ public:
+ explicit EditingMarkerListThatMergesTouchingMarkers(
+ DocumentMarkerController*);
+
+ void insert(DocumentMarker*) final;
+};
+
+} // namespace blink
+
+#endif // EditingMarkerListThatMergesTouchingMarkers_h

Powered by Google App Engine
This is Rietveld 408576698