Chromium Code Reviews| Index: Source/core/editing/Editor.h |
| diff --git a/Source/core/editing/Editor.h b/Source/core/editing/Editor.h |
| index 4330222cd49c50ca85de1c3f4d3197c128523c19..67caaee68536ac0f15a8808c6cc949a8ffe1711b 100644 |
| --- a/Source/core/editing/Editor.h |
| +++ b/Source/core/editing/Editor.h |
| @@ -59,8 +59,9 @@ class SpellCheckRequester; |
| class StylePropertySet; |
| class Text; |
| class TextCheckerClient; |
| -class TextEvent; |
| +class TextCheckingParagraph; |
| struct TextCheckingResult; |
| +class TextEvent; |
| enum EditorCommandSource { CommandFromMenuOrKeyBinding, CommandFromDOM, CommandFromDOMWithUserInterface }; |
| enum EditorParagraphSeparator { EditorParagraphSeparatorIsDiv, EditorParagraphSeparatorIsP }; |
| @@ -341,7 +342,8 @@ private: |
| bool unifiedTextCheckerEnabled() const; |
| - void markAllMisspellingsAndBadGrammarInRanges(TextCheckingTypeMask textCheckingMask, Range* checkingRange, Range* paragraphRange, bool asynchronous, int requestNumber, int* checkingLength = 0); |
| + void chunkAndMarkAllMisspellingsAndBadGrammar(TextCheckingTypeMask textCheckingOptions, const TextCheckingParagraph& fullParagraphToCheck, bool asynchronous); |
|
tony
2013/08/26 23:40:51
Nit: fullParagraphToCheck doesn't need to be named
|
| + void markAllMisspellingsAndBadGrammarInRanges(TextCheckingTypeMask textCheckingOptions, Range* checkingRange, Range* paragraphRange, bool asynchronous, int requestNumber, int* checkingLength = 0); |
| }; |
| inline void Editor::setStartNewKillRingSequence(bool flag) |