| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/browser/speech/speech_recognition_dispatcher_host.h" | 5 #include "content/browser/speech/speech_recognition_dispatcher_host.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/lazy_instance.h" | 9 #include "base/lazy_instance.h" |
| 10 #include "content/browser/browser_plugin/browser_plugin_guest.h" | 10 #include "content/browser/browser_plugin/browser_plugin_guest.h" |
| 11 #include "content/browser/child_process_security_policy_impl.h" | |
| 12 #include "content/browser/renderer_host/render_view_host_impl.h" | 11 #include "content/browser/renderer_host/render_view_host_impl.h" |
| 12 #include "content/browser/shared/child_process_security_policy_helper.h" |
| 13 #include "content/browser/speech/speech_recognition_manager_impl.h" | 13 #include "content/browser/speech/speech_recognition_manager_impl.h" |
| 14 #include "content/browser/web_contents/web_contents_impl.h" | 14 #include "content/browser/web_contents/web_contents_impl.h" |
| 15 #include "content/common/speech_recognition_messages.h" | 15 #include "content/common/speech_recognition_messages.h" |
| 16 #include "content/public/browser/speech_recognition_manager_delegate.h" | 16 #include "content/public/browser/speech_recognition_manager_delegate.h" |
| 17 #include "content/public/browser/speech_recognition_session_config.h" | 17 #include "content/public/browser/speech_recognition_session_config.h" |
| 18 #include "content/public/browser/speech_recognition_session_context.h" | 18 #include "content/public/browser/speech_recognition_session_context.h" |
| 19 #include "content/public/common/content_switches.h" | 19 #include "content/public/common/content_switches.h" |
| 20 | 20 |
| 21 namespace content { | 21 namespace content { |
| 22 | 22 |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 void SpeechRecognitionDispatcherHost::OnAudioLevelsChange(int session_id, | 272 void SpeechRecognitionDispatcherHost::OnAudioLevelsChange(int session_id, |
| 273 float volume, | 273 float volume, |
| 274 float noise_volume) { | 274 float noise_volume) { |
| 275 } | 275 } |
| 276 | 276 |
| 277 void SpeechRecognitionDispatcherHost::OnEnvironmentEstimationComplete( | 277 void SpeechRecognitionDispatcherHost::OnEnvironmentEstimationComplete( |
| 278 int session_id) { | 278 int session_id) { |
| 279 } | 279 } |
| 280 | 280 |
| 281 } // namespace content | 281 } // namespace content |
| OLD | NEW |