| Index: chrome/renderer/speech_input_dispatcher.h | 
| =================================================================== | 
| --- chrome/renderer/speech_input_dispatcher.h	(revision 71253) | 
| +++ chrome/renderer/speech_input_dispatcher.h	(working copy) | 
| @@ -7,28 +7,25 @@ | 
|  | 
| #include "base/basictypes.h" | 
| #include "chrome/common/speech_input_result.h" | 
| -#include "ipc/ipc_channel.h" | 
| +#include "chrome/renderer/render_view.h" | 
| #include "third_party/WebKit/WebKit/chromium/public/WebSpeechInputController.h" | 
|  | 
| class GURL; | 
| -class RenderView; | 
|  | 
| namespace WebKit { | 
| class WebSpeechInputListener; | 
| -class WebString; | 
| -struct WebRect; | 
| } | 
|  | 
| // SpeechInputDispatcher is a delegate for speech input messages used by WebKit. | 
| // It's the complement of SpeechInputDispatcherHost (owned by RenderViewHost). | 
| -class SpeechInputDispatcher : public WebKit::WebSpeechInputController, | 
| -                              public IPC::Channel::Listener { | 
| +class SpeechInputDispatcher : public RenderView::Observer, | 
| +                              public WebKit::WebSpeechInputController { | 
| public: | 
| -  SpeechInputDispatcher(RenderView* render_view, | 
| -                        WebKit::WebSpeechInputListener* listener); | 
| +  explicit SpeechInputDispatcher(WebKit::WebSpeechInputListener* listener); | 
|  | 
| -  // IPC::Channel::Listener implementation. | 
| -  bool OnMessageReceived(const IPC::Message& msg); | 
| + private: | 
| +  // RenderView::Observer implementation. | 
| +  bool OnMessageReceived(const IPC::Message& message); | 
|  | 
| // WebKit::WebSpeechInputController. | 
| virtual bool startRecognition(int request_id, | 
| @@ -39,13 +36,11 @@ | 
| virtual void cancelRecognition(int request_id); | 
| virtual void stopRecording(int request_id); | 
|  | 
| - private: | 
| void OnSpeechRecognitionResult( | 
| int request_id, const speech_input::SpeechInputResultArray& result); | 
| void OnSpeechRecordingComplete(int request_id); | 
| void OnSpeechRecognitionComplete(int request_id); | 
|  | 
| -  RenderView* render_view_; | 
| WebKit::WebSpeechInputListener* listener_; | 
|  | 
| DISALLOW_COPY_AND_ASSIGN(SpeechInputDispatcher); | 
|  | 
| Property changes on: chrome\renderer\speech_input_dispatcher.h | 
| ___________________________________________________________________ | 
| Added: svn:eol-style | 
| + LF | 
|  | 
|  |