diff options
Diffstat (limited to 'WebCore/rendering/TextControlInnerElements.h')
-rw-r--r-- | WebCore/rendering/TextControlInnerElements.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/WebCore/rendering/TextControlInnerElements.h b/WebCore/rendering/TextControlInnerElements.h index ed38221..2859bd5 100644 --- a/WebCore/rendering/TextControlInnerElements.h +++ b/WebCore/rendering/TextControlInnerElements.h @@ -29,11 +29,11 @@ #include "HTMLDivElement.h" #include "SpeechInputListener.h" +#include <wtf/Forward.h> namespace WebCore { class SpeechInput; -class String; class TextControlInnerElement : public HTMLDivElement { public: @@ -119,8 +119,9 @@ class InputFieldSpeechButtonElement : public TextControlInnerElement, public SpeechInputListener { public: - static PassRefPtr<InputFieldSpeechButtonElement> create(Document*); + static PassRefPtr<InputFieldSpeechButtonElement> create(Node*); + virtual void detach(); virtual void defaultEventHandler(Event*); // SpeechInputListener methods. @@ -129,8 +130,7 @@ public: void setRecognitionResult(const String& result); private: - InputFieldSpeechButtonElement(Document*); - virtual void detach(); + InputFieldSpeechButtonElement(Node*); SpeechInput* speechInput(); bool m_capturing; |