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 |