| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |