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

Side by Side Diff: content/browser/speech/speech_input_manager_impl.cc

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_impl.h" 5 #include "content/browser/speech/speech_input_manager_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "content/browser/browser_main_loop.h" 8 #include "content/browser/browser_main_loop.h"
9 #include "content/browser/renderer_host/render_view_host_impl.h" 9 #include "content/browser/renderer_host/render_view_host_impl.h"
10 #include "content/browser/speech/speech_input_dispatcher_host.h" 10 #include "content/browser/speech/speech_input_dispatcher_host.h"
11 #include "content/browser/speech/speech_recognizer_impl.h" 11 #include "content/browser/speech/speech_recognizer_impl.h"
12 #include "content/public/browser/browser_thread.h" 12 #include "content/public/browser/browser_thread.h"
13 #include "content/public/browser/content_browser_client.h" 13 #include "content/public/browser/content_browser_client.h"
14 #include "content/public/browser/render_view_host_delegate.h" 14 #include "content/public/browser/render_view_host_delegate.h"
15 #include "content/public/browser/resource_context.h" 15 #include "content/public/browser/resource_context.h"
16 #include "content/public/browser/speech_input_manager_delegate.h" 16 #include "content/public/browser/speech_input_manager_delegate.h"
17 #include "content/public/browser/speech_input_preferences.h" 17 #include "content/public/browser/speech_input_preferences.h"
18 #include "content/public/common/view_type.h" 18 #include "content/public/common/view_type.h"
19 19
20 using content::BrowserMainLoop; 20 using content::BrowserMainLoop;
21 using content::BrowserThread; 21 using content::BrowserThread;
22 using content::RenderViewHostImpl;
22 using content::SpeechInputManagerDelegate; 23 using content::SpeechInputManagerDelegate;
23 24
24 content::SpeechInputManager* content::SpeechInputManager::GetInstance() { 25 content::SpeechInputManager* content::SpeechInputManager::GetInstance() {
25 return speech_input::SpeechInputManagerImpl::GetInstance(); 26 return speech_input::SpeechInputManagerImpl::GetInstance();
26 } 27 }
27 28
28 namespace speech_input { 29 namespace speech_input {
29 30
30 struct SpeechInputManagerImpl::SpeechInputParams { 31 struct SpeechInputManagerImpl::SpeechInputParams {
31 SpeechInputParams(SpeechInputDispatcherHost* delegate, 32 SpeechInputParams(SpeechInputDispatcherHost* delegate,
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 343
343 SpeechInputManagerImpl::SpeechInputRequest::SpeechInputRequest() 344 SpeechInputManagerImpl::SpeechInputRequest::SpeechInputRequest()
344 : delegate(NULL), 345 : delegate(NULL),
345 is_active(false) { 346 is_active(false) {
346 } 347 }
347 348
348 SpeechInputManagerImpl::SpeechInputRequest::~SpeechInputRequest() { 349 SpeechInputManagerImpl::SpeechInputRequest::~SpeechInputRequest() {
349 } 350 }
350 351
351 } // namespace speech_input 352 } // namespace speech_input
OLDNEW
« no previous file with comments | « content/browser/renderer_host/text_input_client_mac_unittest.mm ('k') | content/browser/ssl/ssl_error_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698