#ifndef SpellChecker_h
#define SpellChecker_h
-#include "core/dom/ClipboardAccessPolicy.h"
+#include "core/clipboard/ClipboardAccessPolicy.h"
#include "core/dom/DocumentMarker.h"
#include "core/editing/FrameSelection.h"
#include "core/editing/VisibleSelection.h"
namespace WebCore {
-class EditorClient;
class Frame;
+class SpellCheckerClient;
class SpellCheckRequest;
class SpellCheckRequester;
class TextCheckerClient;
~SpellChecker();
- EditorClient& editorClient() const;
+ SpellCheckerClient& spellCheckerClient() const;
TextCheckerClient& textChecker() const;
bool isContinuousSpellCheckingEnabled() const;
void toggleContinuousSpellChecking();
bool isGrammarCheckingEnabled();
void ignoreSpelling();
- String misspelledWordAtCaretOrRange(Node* clickedNode) const;
bool isSpellCheckingEnabledInFocusedNode() const;
bool isSpellCheckingEnabledFor(Node*) const;
void markMisspellingsAfterTypingToWord(const VisiblePosition &wordStart, const VisibleSelection& selectionAfterTyping);