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

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

Issue 2780313002: [WIP] Refactor DocumentMarker (Closed)
Patch Set: Move accessor methods into derived classes Created 3 years, 8 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
1 // Copyright 2017 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CompositionMarkerList_h 5 #ifndef CompositionMarkerList_h
6 #define CompositionMarkerList_h 6 #define CompositionMarkerList_h
7 7
8 #include "core/editing/markers/CompositionMarker.h"
8 #include "core/editing/markers/EditingMarkerList.h" 9 #include "core/editing/markers/EditingMarkerList.h"
9 10
10 namespace blink { 11 namespace blink {
11 12
12 class CORE_EXPORT CompositionMarkerList final : public EditingMarkerList { 13 class CORE_EXPORT CompositionMarkerList final : public EditingMarkerList {
13 public: 14 public:
14 explicit CompositionMarkerList(); 15 explicit CompositionMarkerList();
15 16
16 DocumentMarker::MarkerType allowedMarkerType() const final; 17 DocumentMarker::MarkerType allowedMarkerType() const final;
17 18
19 CompositionMarker* at(size_t index) final;
Xiaocheng 2017/03/31 02:01:01 virtual |at()| should be in some previous patch.
rlanday 2017/03/31 17:40:41 I don't think this makes sense, there is no Compos
Xiaocheng 2017/03/31 19:59:18 Yeah, you're right!
20
18 DISALLOW_COPY_AND_ASSIGN(CompositionMarkerList); 21 DISALLOW_COPY_AND_ASSIGN(CompositionMarkerList);
19 }; 22 };
20 23
21 } // namespace blink 24 } // namespace blink
22 25
23 #endif // CompositionMarkerList_h 26 #endif // CompositionMarkerList_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698