| OLD | NEW |
| 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 #include "chrome/renderer/speech_input_dispatcher.h" | 5 #include "content/renderer/speech_input_dispatcher.h" |
| 6 | 6 |
| 7 #include "base/utf_string_conversions.h" | 7 #include "base/utf_string_conversions.h" |
| 8 #include "chrome/renderer/render_view.h" | 8 #include "chrome/renderer/render_view.h" |
| 9 #include "content/common/speech_input_messages.h" | 9 #include "content/common/speech_input_messages.h" |
| 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
| 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSize.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSize.h" |
| 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h" | 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h" |
| 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSpeechInputListene
r.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSpeechInputListene
r.h" |
| 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" |
| 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 VLOG(1) << "SpeechInputDispatcher::OnSpeechRecordingComplete enter"; | 86 VLOG(1) << "SpeechInputDispatcher::OnSpeechRecordingComplete enter"; |
| 87 listener_->didCompleteRecording(request_id); | 87 listener_->didCompleteRecording(request_id); |
| 88 VLOG(1) << "SpeechInputDispatcher::OnSpeechRecordingComplete exit"; | 88 VLOG(1) << "SpeechInputDispatcher::OnSpeechRecordingComplete exit"; |
| 89 } | 89 } |
| 90 | 90 |
| 91 void SpeechInputDispatcher::OnSpeechRecognitionComplete(int request_id) { | 91 void SpeechInputDispatcher::OnSpeechRecognitionComplete(int request_id) { |
| 92 VLOG(1) << "SpeechInputDispatcher::OnSpeechRecognitionComplete enter"; | 92 VLOG(1) << "SpeechInputDispatcher::OnSpeechRecognitionComplete enter"; |
| 93 listener_->didCompleteRecognition(request_id); | 93 listener_->didCompleteRecognition(request_id); |
| 94 VLOG(1) << "SpeechInputDispatcher::OnSpeechRecognitionComplete exit"; | 94 VLOG(1) << "SpeechInputDispatcher::OnSpeechRecognitionComplete exit"; |
| 95 } | 95 } |
| OLD | NEW |