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

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

Issue 7981049: Fix more symbol exports and a compile failure for the component build of (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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) 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 "content/browser/browser_thread.h" 7 #include "content/browser/browser_thread.h"
8 #include "media/audio/audio_manager.h" 8 #include "media/audio/audio_manager.h"
9 9
10 namespace speech_input { 10 namespace speech_input {
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 // If this is an ongoing recording or if we were displaying an error message 177 // If this is an ongoing recording or if we were displaying an error message
178 // to the user, abort it since user has switched focus. Otherwise 178 // to the user, abort it since user has switched focus. Otherwise
179 // recognition has started and keep that going so user can start speaking to 179 // recognition has started and keep that going so user can start speaking to
180 // another element while this gets the results in parallel. 180 // another element while this gets the results in parallel.
181 if (recording_caller_id_ == caller_id || !requests_[caller_id].is_active) { 181 if (recording_caller_id_ == caller_id || !requests_[caller_id].is_active) {
182 CancelRecognitionAndInformDelegate(caller_id); 182 CancelRecognitionAndInformDelegate(caller_id);
183 } 183 }
184 } 184 }
185 } 185 }
186 186
187 SpeechInputManager::SpeechInputRequest::SpeechInputRequest()
188 : delegate(NULL),
189 is_active(false) {
190 }
191
192 SpeechInputManager::SpeechInputRequest::~SpeechInputRequest() {
193 }
194
187 } // namespace speech_input 195 } // namespace speech_input
OLDNEW
« no previous file with comments | « content/browser/speech/speech_input_manager.h ('k') | content/browser/speech/speech_recognition_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698