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

Side by Side Diff: Source/platform/speech/PlatformSpeechSynthesizer.cpp

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 /* 1 /*
2 * Copyright (C) 2013 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2013 Apple Computer, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 16 matching lines...) Expand all
27 #include "platform/speech/PlatformSpeechSynthesizer.h" 27 #include "platform/speech/PlatformSpeechSynthesizer.h"
28 28
29 #include "platform/exported/WebSpeechSynthesizerClientImpl.h" 29 #include "platform/exported/WebSpeechSynthesizerClientImpl.h"
30 #include "platform/speech/PlatformSpeechSynthesisUtterance.h" 30 #include "platform/speech/PlatformSpeechSynthesisUtterance.h"
31 #include "public/platform/Platform.h" 31 #include "public/platform/Platform.h"
32 #include "public/platform/WebSpeechSynthesisUtterance.h" 32 #include "public/platform/WebSpeechSynthesisUtterance.h"
33 #include "public/platform/WebSpeechSynthesizer.h" 33 #include "public/platform/WebSpeechSynthesizer.h"
34 #include "public/platform/WebSpeechSynthesizerClient.h" 34 #include "public/platform/WebSpeechSynthesizerClient.h"
35 #include "wtf/RetainPtr.h" 35 #include "wtf/RetainPtr.h"
36 36
37 namespace WebCore { 37 namespace blink {
38 38
39 PlatformSpeechSynthesizer* PlatformSpeechSynthesizer::create(PlatformSpeechSynth esizerClient* client) 39 PlatformSpeechSynthesizer* PlatformSpeechSynthesizer::create(PlatformSpeechSynth esizerClient* client)
40 { 40 {
41 PlatformSpeechSynthesizer* synthesizer = new PlatformSpeechSynthesizer(clien t); 41 PlatformSpeechSynthesizer* synthesizer = new PlatformSpeechSynthesizer(clien t);
42 synthesizer->initializeVoiceList(); 42 synthesizer->initializeVoiceList();
43 return synthesizer; 43 return synthesizer;
44 } 44 }
45 45
46 PlatformSpeechSynthesizer::PlatformSpeechSynthesizer(PlatformSpeechSynthesizerCl ient* client) 46 PlatformSpeechSynthesizer::PlatformSpeechSynthesizer(PlatformSpeechSynthesizerCl ient* client)
47 : m_speechSynthesizerClient(client) 47 : m_speechSynthesizerClient(client)
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 m_webSpeechSynthesizer->updateVoiceList(); 91 m_webSpeechSynthesizer->updateVoiceList();
92 } 92 }
93 93
94 void PlatformSpeechSynthesizer::trace(Visitor* visitor) 94 void PlatformSpeechSynthesizer::trace(Visitor* visitor)
95 { 95 {
96 visitor->trace(m_speechSynthesizerClient); 96 visitor->trace(m_speechSynthesizerClient);
97 visitor->trace(m_voiceList); 97 visitor->trace(m_voiceList);
98 visitor->trace(m_webSpeechSynthesizerClient); 98 visitor->trace(m_webSpeechSynthesizerClient);
99 } 99 }
100 100
101 } // namespace WebCore 101 } // namespace blink
OLDNEW
« no previous file with comments | « Source/platform/speech/PlatformSpeechSynthesizer.h ('k') | Source/platform/testing/ArenaTestHelpers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698