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

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

Issue 2911723002: [DMC #24] Add SpellingMarker and GrammarMarker (subclasses of DocumentMarker) (Closed)
Patch Set: Rebase, respond to comments 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/GrammarMarker.h
diff --git a/third_party/WebKit/Source/core/editing/markers/GrammarMarker.h b/third_party/WebKit/Source/core/editing/markers/GrammarMarker.h
new file mode 100644
index 0000000000000000000000000000000000000000..a764c2f492f075e3c7e8bdd95ca61383144f7677
--- /dev/null
+++ b/third_party/WebKit/Source/core/editing/markers/GrammarMarker.h
@@ -0,0 +1,21 @@
+// 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 GrammarMarker_h
+#define GrammarMarker_h
+
+#include "core/editing/markers/SpellCheckMarker.h"
+
+namespace blink {
+
+class CORE_EXPORT GrammarMarker final : public SpellCheckMarker {
yosin_UTC9 2017/06/01 03:29:12 Please add a class comment.
+ public:
+ GrammarMarker(unsigned start_offset,
+ unsigned end_offset,
+ const String& description);
+};
yosin_UTC9 2017/06/01 03:29:12 nit: Could you add DISALLOW_COPY_AND_ASSING()?
+
+} // namespace blink
+
+#endif

Powered by Google App Engine
This is Rietveld 408576698