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

Unified Diff: third_party/WebKit/Source/core/editing/markers/CompositionMarkerList.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/CompositionMarkerList.h
diff --git a/third_party/WebKit/Source/core/editing/markers/CompositionMarkerList.h b/third_party/WebKit/Source/core/editing/markers/CompositionMarkerList.h
new file mode 100644
index 0000000000000000000000000000000000000000..d77a2f14435d2a05d69cb7c2027a6ea63bbed821
--- /dev/null
+++ b/third_party/WebKit/Source/core/editing/markers/CompositionMarkerList.h
@@ -0,0 +1,23 @@
+// 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 CompositionMarkerList_h
+#define CompositionMarkerList_h
+
+#include "core/editing/markers/EditingMarkerList.h"
+
+namespace blink {
+
+class CompositionMarkerList : public EditingMarkerList {
Xiaocheng 2017/03/21 03:59:44 Please add "final". The same comment applies to o
+ DISALLOW_COPY_AND_ASSIGN(CompositionMarkerList);
Xiaocheng 2017/03/21 03:59:44 nit: Basically all existing usages of DISALLOW_COP
+
+ public:
+ explicit CompositionMarkerList(DocumentMarkerController*);
+
+ DocumentMarker::MarkerType allowedMarkerType() const final;
+};
+
+} // namespace blink
+
+#endif // CompositionMarkerList_h

Powered by Google App Engine
This is Rietveld 408576698