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

Side by Side Diff: third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerList.h

Issue 2723663002: Refactor DocumentMarkerController (Closed)
Patch Set: Make requested changes, rebase (HashMap::remove() => HashMap::erase()) 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef SpellCheckMarkerList_h
6 #define SpellCheckMarkerList_h
7
8 #include "core/editing/markers/EditingMarkerList.h"
9
10 namespace blink {
11
12 class Text;
13
14 class SpellCheckMarkerList : public EditingMarkerList {
15 public:
16 explicit SpellCheckMarkerList(DocumentMarkerController*,
17 DocumentMarker::MarkerType);
18
19 DocumentMarker::MarkerType allowedMarkerType() const final;
20 void insert(DocumentMarker*) final;
21 void removeMarkersForWords(const Text& textNode, const Vector<String>& words);
22
23 private:
24 DocumentMarker::MarkerType m_type;
25
26 DISALLOW_COPY_AND_ASSIGN(SpellCheckMarkerList);
27 };
28
29 } // namespace blink
30
31 #endif // SpellCheckMarkerList_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698