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

Unified Diff: Source/core/platform/mock/PlatformSpeechSynthesizerMock.cpp

Issue 27477002: Add support for onvoiceschanged event. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@platform_speech_chromium
Patch Set: Check activeDOMObjectsAreStopped, address other feedback Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/events/EventTypeNames.in ('k') | Source/modules/speech/DOMWindowSpeechSynthesis.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/mock/PlatformSpeechSynthesizerMock.cpp
diff --git a/Source/core/platform/mock/PlatformSpeechSynthesizerMock.cpp b/Source/core/platform/mock/PlatformSpeechSynthesizerMock.cpp
index 2c4928a8bd0f6fe390dacada522afa6c17e22758..6585d51a517442508cd31a050052c93132ba867b 100644
--- a/Source/core/platform/mock/PlatformSpeechSynthesizerMock.cpp
+++ b/Source/core/platform/mock/PlatformSpeechSynthesizerMock.cpp
@@ -33,6 +33,7 @@ PassOwnPtr<PlatformSpeechSynthesizerMock> PlatformSpeechSynthesizerMock::create(
{
OwnPtr<PlatformSpeechSynthesizerMock> synthesizer = adoptPtr(new PlatformSpeechSynthesizerMock(client));
synthesizer->initializeVoiceList();
+ client->voicesDidChange();
return synthesizer.release();
}
« no previous file with comments | « Source/core/events/EventTypeNames.in ('k') | Source/modules/speech/DOMWindowSpeechSynthesis.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698