Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(620)

Side by Side Diff: chrome/browser/speech/speech_input_dispatcher_host.h

Issue 5701004: Rename ResourceMessageFilter to RenderMessageFilter, since that's what it act... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SPEECH_SPEECH_INPUT_DISPATCHER_HOST_H_ 5 #ifndef CHROME_BROWSER_SPEECH_SPEECH_INPUT_DISPATCHER_HOST_H_
6 #define CHROME_BROWSER_SPEECH_SPEECH_INPUT_DISPATCHER_HOST_H_ 6 #define CHROME_BROWSER_SPEECH_SPEECH_INPUT_DISPATCHER_HOST_H_
7 7
8 #include "base/scoped_ptr.h" 8 #include "base/scoped_ptr.h"
9 #include "chrome/browser/browser_message_filter.h" 9 #include "chrome/browser/browser_message_filter.h"
10 #include "chrome/browser/speech/speech_input_manager.h" 10 #include "chrome/browser/speech/speech_input_manager.h"
11 11
12 namespace speech_input { 12 namespace speech_input {
13 13
14 // SpeechInputDispatcherHost is a delegate for Speech API messages used by 14 // SpeechInputDispatcherHost is a delegate for Speech API messages used by
15 // ResourceMessageFilter. 15 // RenderMessageFilter.
16 // It's the complement of SpeechInputDispatcher (owned by RenderView). 16 // It's the complement of SpeechInputDispatcher (owned by RenderView).
17 class SpeechInputDispatcherHost : public BrowserMessageFilter, 17 class SpeechInputDispatcherHost : public BrowserMessageFilter,
18 public SpeechInputManager::Delegate { 18 public SpeechInputManager::Delegate {
19 public: 19 public:
20 class SpeechInputCallers; 20 class SpeechInputCallers;
21 21
22 explicit SpeechInputDispatcherHost(int render_process_id); 22 explicit SpeechInputDispatcherHost(int render_process_id);
23 23
24 // SpeechInputManager::Delegate methods. 24 // SpeechInputManager::Delegate methods.
25 virtual void SetRecognitionResult(int caller_id, 25 virtual void SetRecognitionResult(int caller_id,
(...skipping 27 matching lines...) Expand all
53 int render_process_id_; 53 int render_process_id_;
54 54
55 static SpeechInputManager::AccessorMethod* manager_accessor_; 55 static SpeechInputManager::AccessorMethod* manager_accessor_;
56 56
57 DISALLOW_COPY_AND_ASSIGN(SpeechInputDispatcherHost); 57 DISALLOW_COPY_AND_ASSIGN(SpeechInputDispatcherHost);
58 }; 58 };
59 59
60 } // namespace speech_input 60 } // namespace speech_input
61 61
62 #endif // CHROME_BROWSER_SPEECH_SPEECH_INPUT_DISPATCHER_HOST_H_ 62 #endif // CHROME_BROWSER_SPEECH_SPEECH_INPUT_DISPATCHER_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698