OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/renderer_host/render_view_host_delegate.h" | 9 #include "content/browser/renderer_host/render_view_host_delegate.h" |
10 #include "content/browser/speech/speech_input_preferences.h" | 10 #include "content/browser/speech/speech_input_preferences.h" |
11 #include "content/public/browser/browser_thread.h" | 11 #include "content/public/browser/browser_thread.h" |
12 #include "content/public/common/view_types.h" | 12 #include "content/public/common/view_type.h" |
13 #include "media/audio/audio_manager.h" | 13 #include "media/audio/audio_manager.h" |
14 | 14 |
15 using content::BrowserThread; | 15 using content::BrowserThread; |
16 | 16 |
17 namespace speech_input { | 17 namespace speech_input { |
18 | 18 |
19 struct SpeechInputManager::SpeechInputParams { | 19 struct SpeechInputManager::SpeechInputParams { |
20 SpeechInputParams(Delegate* delegate, | 20 SpeechInputParams(Delegate* delegate, |
21 int caller_id, | 21 int caller_id, |
22 int render_process_id, | 22 int render_process_id, |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 | 278 |
279 SpeechInputManager::SpeechInputRequest::SpeechInputRequest() | 279 SpeechInputManager::SpeechInputRequest::SpeechInputRequest() |
280 : delegate(NULL), | 280 : delegate(NULL), |
281 is_active(false) { | 281 is_active(false) { |
282 } | 282 } |
283 | 283 |
284 SpeechInputManager::SpeechInputRequest::~SpeechInputRequest() { | 284 SpeechInputManager::SpeechInputRequest::~SpeechInputRequest() { |
285 } | 285 } |
286 | 286 |
287 } // namespace speech_input | 287 } // namespace speech_input |
OLD | NEW |