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

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

Issue 2911733002: [DMC #25] Make DocumentMarker::GetType() virtual (Closed)
Patch Set: Rebase Created 3 years, 6 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 GrammarMarker_h 5 #ifndef GrammarMarker_h
6 #define GrammarMarker_h 6 #define GrammarMarker_h
7 7
8 #include "core/editing/markers/SpellCheckMarker.h" 8 #include "core/editing/markers/SpellCheckMarker.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class CORE_EXPORT GrammarMarker final : public SpellCheckMarker { 12 class CORE_EXPORT GrammarMarker final : public SpellCheckMarker {
13 public: 13 public:
14 GrammarMarker(unsigned start_offset, 14 GrammarMarker(unsigned start_offset,
15 unsigned end_offset, 15 unsigned end_offset,
16 const String& description); 16 const String& description);
17
18 // DocumentMarker implementations
19 MarkerType GetType() const;
yosin_UTC9 2017/05/29 05:17:09 nit: s/;/final ;/
17 }; 20 };
18 21
19 } // namespace blink 22 } // namespace blink
20 23
21 #endif 24 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698