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

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

Issue 2868413002: [DMC #5.55] Add DocumentMarkerList::MarkerType() (Closed)
Patch Set: Fix mistake in comment Created 3 years, 7 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/GrammarMarkerListImpl.h
diff --git a/third_party/WebKit/Source/core/editing/markers/GrammarMarkerListImpl.h b/third_party/WebKit/Source/core/editing/markers/GrammarMarkerListImpl.h
new file mode 100644
index 0000000000000000000000000000000000000000..743ede914188518c6117fc2e8be897e046c86bcc
--- /dev/null
+++ b/third_party/WebKit/Source/core/editing/markers/GrammarMarkerListImpl.h
@@ -0,0 +1,26 @@
+// 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 GrammarMarkerListImpl_h
+#define GrammarMarkerListImpl_h
+
+#include "core/editing/markers/SpellCheckMarkerListImpl.h"
+
+namespace blink {
+
+// This is the DocumentMarkerList implementation used to store Grammar markers.
+class CORE_EXPORT GrammarMarkerListImpl final
+ : public SpellCheckMarkerListImpl {
+ public:
+ GrammarMarkerListImpl() = default;
+
+ DocumentMarker::MarkerType MarkerType() const final;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(GrammarMarkerListImpl);
+};
+
+} // namespace blink
+
+#endif // GrammarMarkerListImpl_h

Powered by Google App Engine
This is Rietveld 408576698