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

Unified Diff: content/renderer/input_tag_speech_dispatcher.h

Issue 11232014: Move a bunch of code in content\renderer to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 2 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/idle_user_detector.cc ('k') | content/renderer/input_tag_speech_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « content/renderer/idle_user_detector.cc ('k') | content/renderer/input_tag_speech_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698