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

Unified Diff: content/renderer/input_tag_speech_dispatcher.cc

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/input_tag_speech_dispatcher.h ('k') | content/renderer/load_progress_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/input_tag_speech_dispatcher.cc
===================================================================
--- content/renderer/input_tag_speech_dispatcher.cc (revision 163045)
+++ content/renderer/input_tag_speech_dispatcher.cc (working copy)
@@ -25,10 +25,12 @@
using WebKit::WebNode;
using WebKit::WebView;
+namespace content {
+
InputTagSpeechDispatcher::InputTagSpeechDispatcher(
RenderViewImpl* render_view,
WebKit::WebSpeechInputListener* listener)
- : content::RenderViewObserver(render_view),
+ : RenderViewObserver(render_view),
listener_(listener) {
}
@@ -85,7 +87,7 @@
void InputTagSpeechDispatcher::OnSpeechRecognitionResult(
int request_id,
- const content::SpeechRecognitionResult& result) {
+ const SpeechRecognitionResult& result) {
VLOG(1) << "InputTagSpeechDispatcher::OnSpeechRecognitionResult enter";
WebKit::WebSpeechInputResultArray webkit_result(result.hypotheses.size());
for (size_t i = 0; i < result.hypotheses.size(); ++i) {
@@ -138,3 +140,5 @@
input_element->stopSpeechInput();
}
}
+
+} // namespace content
« no previous file with comments | « content/renderer/input_tag_speech_dispatcher.h ('k') | content/renderer/load_progress_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698