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

Side by Side Diff: chrome/browser/speech/tts_controller.cc

Issue 58903014: Revert 232412 "Implement Google network speech synthesis." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1700/src/
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « chrome/browser/speech/tts_controller.h ('k') | chrome/browser/speech/tts_message_filter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "chrome/browser/speech/tts_controller.h" 5 #include "chrome/browser/speech/tts_controller.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/float_util.h" 10 #include "base/float_util.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 volume(-1) {} 50 volume(-1) {}
51 51
52 52
53 // 53 //
54 // VoiceData 54 // VoiceData
55 // 55 //
56 56
57 57
58 VoiceData::VoiceData() 58 VoiceData::VoiceData()
59 : gender(TTS_GENDER_NONE), 59 : gender(TTS_GENDER_NONE),
60 remote(false),
61 native(false) {} 60 native(false) {}
62 61
63 VoiceData::~VoiceData() {} 62 VoiceData::~VoiceData() {}
64 63
65 64
66 // 65 //
67 // Utterance 66 // Utterance
68 // 67 //
69 68
70 // static 69 // static
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 } 412 }
414 413
415 void TtsController::AddVoicesChangedDelegate(VoicesChangedDelegate* delegate) { 414 void TtsController::AddVoicesChangedDelegate(VoicesChangedDelegate* delegate) {
416 voices_changed_delegates_.insert(delegate); 415 voices_changed_delegates_.insert(delegate);
417 } 416 }
418 417
419 void TtsController::RemoveVoicesChangedDelegate( 418 void TtsController::RemoveVoicesChangedDelegate(
420 VoicesChangedDelegate* delegate) { 419 VoicesChangedDelegate* delegate) {
421 voices_changed_delegates_.erase(delegate); 420 voices_changed_delegates_.erase(delegate);
422 } 421 }
422
OLDNEW
« no previous file with comments | « chrome/browser/speech/tts_controller.h ('k') | chrome/browser/speech/tts_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698