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_input_manager.h" | 5 #include "content/browser/speech/speech_input_manager.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "content/browser/renderer_host/render_view_host.h" | 8 #include "content/browser/renderer_host/render_view_host.h" |
| 9 #include "content/browser/speech/speech_recognizer.h" |
9 #include "content/public/browser/browser_thread.h" | 10 #include "content/public/browser/browser_thread.h" |
10 #include "content/public/browser/render_view_host_delegate.h" | 11 #include "content/public/browser/render_view_host_delegate.h" |
11 #include "content/public/browser/resource_context.h" | 12 #include "content/public/browser/resource_context.h" |
12 #include "content/public/browser/speech_input_preferences.h" | 13 #include "content/public/browser/speech_input_preferences.h" |
13 #include "content/public/common/view_type.h" | 14 #include "content/public/common/view_type.h" |
14 #include "media/audio/audio_manager.h" | 15 #include "media/audio/audio_manager.h" |
15 | 16 |
16 using content::BrowserThread; | 17 using content::BrowserThread; |
17 | 18 |
18 namespace speech_input { | 19 namespace speech_input { |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 | 306 |
306 SpeechInputManager::SpeechInputRequest::SpeechInputRequest() | 307 SpeechInputManager::SpeechInputRequest::SpeechInputRequest() |
307 : delegate(NULL), | 308 : delegate(NULL), |
308 is_active(false) { | 309 is_active(false) { |
309 } | 310 } |
310 | 311 |
311 SpeechInputManager::SpeechInputRequest::~SpeechInputRequest() { | 312 SpeechInputManager::SpeechInputRequest::~SpeechInputRequest() { |
312 } | 313 } |
313 | 314 |
314 } // namespace speech_input | 315 } // namespace speech_input |
OLD | NEW |