Index: content/renderer/input_tag_speech_dispatcher.h |
=================================================================== |
--- content/renderer/input_tag_speech_dispatcher.h (revision 163045) |
+++ content/renderer/input_tag_speech_dispatcher.h (working copy) |
@@ -9,19 +9,17 @@ |
#include "content/public/renderer/render_view_observer.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebSpeechInputController.h" |
-class RenderViewImpl; |
+namespace WebKit { |
+class WebSpeechInputListener; |
+} |
namespace content { |
+class RenderViewImpl; |
struct SpeechRecognitionResult; |
-} |
-namespace WebKit { |
-class WebSpeechInputListener; |
-} |
- |
// InputTagSpeechDispatcher is a delegate for messages used by WebKit. It's |
// the complement of InputTagSpeechDispatcherHost (owned by RenderViewHost). |
-class InputTagSpeechDispatcher : public content::RenderViewObserver, |
+class InputTagSpeechDispatcher : public RenderViewObserver, |
public WebKit::WebSpeechInputController { |
public: |
InputTagSpeechDispatcher(RenderViewImpl* render_view, |
@@ -42,7 +40,7 @@ |
virtual void stopRecording(int request_id); |
void OnSpeechRecognitionResult( |
- int request_id, const content::SpeechRecognitionResult& result); |
+ int request_id, const SpeechRecognitionResult& result); |
void OnSpeechRecordingComplete(int request_id); |
void OnSpeechRecognitionComplete(int request_id); |
void OnSpeechRecognitionToggleSpeechInput(); |
@@ -52,4 +50,6 @@ |
DISALLOW_COPY_AND_ASSIGN(InputTagSpeechDispatcher); |
}; |
+} // namespace content |
+ |
#endif // CONTENT_RENDERER_INPUT_TAG_SPEECH_DISPATCHER_H_ |