| Index: third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerList.h
|
| diff --git a/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerList.h b/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerList.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..364ca1e32a2fb6703a2da0b6a0219ac6e8fe4a75
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerList.h
|
| @@ -0,0 +1,31 @@
|
| +// 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 SpellCheckMarkerList_h
|
| +#define SpellCheckMarkerList_h
|
| +
|
| +#include "core/editing/markers/EditingMarkerList.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class Text;
|
| +
|
| +class SpellCheckMarkerList : public EditingMarkerList {
|
| + public:
|
| + explicit SpellCheckMarkerList(DocumentMarkerController*,
|
| + DocumentMarker::MarkerType);
|
| +
|
| + DocumentMarker::MarkerType allowedMarkerType() const final;
|
| + void insert(DocumentMarker*) final;
|
| + void removeMarkersForWords(const Text& textNode, const Vector<String>& words);
|
| +
|
| + private:
|
| + DocumentMarker::MarkerType m_type;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(SpellCheckMarkerList);
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // SpellCheckMarkerList_h
|
|
|