| Index: third_party/WebKit/Source/core/editing/spellcheck/TextCheckingParagraph.h
|
| diff --git a/third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.h b/third_party/WebKit/Source/core/editing/spellcheck/TextCheckingParagraph.h
|
| similarity index 81%
|
| rename from third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.h
|
| rename to third_party/WebKit/Source/core/editing/spellcheck/TextCheckingParagraph.h
|
| index bda4e316a10fb04e51013e4644590db36b572d57..399e7a0fb174a3bb03b27f8bc987bba9c6f59a44 100644
|
| --- a/third_party/WebKit/Source/core/editing/spellcheck/TextCheckingHelper.h
|
| +++ b/third_party/WebKit/Source/core/editing/spellcheck/TextCheckingParagraph.h
|
| @@ -18,22 +18,16 @@
|
| * Boston, MA 02110-1301, USA.
|
| */
|
|
|
| -#ifndef TextCheckingHelper_h
|
| -#define TextCheckingHelper_h
|
| +#ifndef TextCheckingParagraph_h
|
| +#define TextCheckingParagraph_h
|
|
|
| #include "core/editing/EphemeralRange.h"
|
| #include "core/editing/Position.h"
|
| -#include "platform/heap/Handle.h"
|
| -#include "platform/text/TextChecking.h"
|
| #include "wtf/text/WTFString.h"
|
|
|
| namespace blink {
|
|
|
| -class LocalFrame;
|
| class Range;
|
| -class SpellCheckerClient;
|
| -class TextCheckerClient;
|
| -struct TextCheckingResult;
|
|
|
| class TextCheckingParagraph {
|
| STACK_ALLOCATED();
|
| @@ -81,21 +75,6 @@ private:
|
| mutable int m_checkingLength;
|
| };
|
|
|
| -class TextCheckingHelper {
|
| - WTF_MAKE_NONCOPYABLE(TextCheckingHelper);
|
| - STACK_ALLOCATED();
|
| -public:
|
| - TextCheckingHelper(SpellCheckerClient&, const Position& start, const Position& end);
|
| - ~TextCheckingHelper();
|
| -
|
| - String findFirstMisspellingOrBadGrammar(int& outFirstFoundOffset);
|
| -
|
| -private:
|
| - SpellCheckerClient* m_client;
|
| - Position m_start;
|
| - Position m_end;
|
| -};
|
| -
|
| } // namespace blink
|
|
|
| -#endif // TextCheckingHelper_h
|
| +#endif // TextCheckingParagraph_h
|
|
|