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

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

Issue 2872353002: [DMC #5.55v2] Add DocumentMarkerList::MarkerType() (Closed)
Patch Set: 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/SpellCheckMarkerListImpl.h
diff --git a/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.h b/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.h
index ff3de05d1391139db2c952726c3d1a0c40daf3cb..4a63c3be05a3a011bdf5ba6a1c4fe9ff4d823b96 100644
--- a/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.h
+++ b/third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.h
@@ -14,9 +14,11 @@ namespace blink {
// by start offset in order to be able to do this efficiently.
class CORE_EXPORT SpellCheckMarkerListImpl : public DocumentMarkerList {
public:
- SpellCheckMarkerListImpl() = default;
+ SpellCheckMarkerListImpl(DocumentMarker::MarkerType);
// DocumentMarkerList implementations
+ DocumentMarker::MarkerType MarkerType() const;
+
bool IsEmpty() const final;
void Add(DocumentMarker*) final;
@@ -35,6 +37,7 @@ class CORE_EXPORT SpellCheckMarkerListImpl : public DocumentMarkerList {
DECLARE_VIRTUAL_TRACE();
private:
+ DocumentMarker::MarkerType marker_type_;
HeapVector<Member<RenderedDocumentMarker>> markers_;
DISALLOW_COPY_AND_ASSIGN(SpellCheckMarkerListImpl);

Powered by Google App Engine
This is Rietveld 408576698