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

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

Issue 434083003: Remove the dependency of Extension API from tts_chromeos (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix the nits Created 6 years, 4 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
« no previous file with comments | « chrome/browser/speech/tts_controller_impl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_impl.h" 5 #include "chrome/browser/speech/tts_controller_impl.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 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 455
456 void TtsControllerImpl::RemoveVoicesChangedDelegate( 456 void TtsControllerImpl::RemoveVoicesChangedDelegate(
457 VoicesChangedDelegate* delegate) { 457 VoicesChangedDelegate* delegate) {
458 voices_changed_delegates_.erase(delegate); 458 voices_changed_delegates_.erase(delegate);
459 } 459 }
460 460
461 void TtsControllerImpl::SetTtsEngineDelegate( 461 void TtsControllerImpl::SetTtsEngineDelegate(
462 TtsEngineDelegate* delegate) { 462 TtsEngineDelegate* delegate) {
463 tts_engine_delegate_ = delegate; 463 tts_engine_delegate_ = delegate;
464 } 464 }
465
466 TtsEngineDelegate* TtsControllerImpl::GetTtsEngineDelegate() {
467 return tts_engine_delegate_;
468 }
OLDNEW
« no previous file with comments | « chrome/browser/speech/tts_controller_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698