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

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

Issue 858663002: Fix template angle bracket syntax in platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 11 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 | « Source/platform/speech/PlatformSpeechSynthesizer.h ('k') | Source/platform/text/BidiResolver.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 if (m_webSpeechSynthesizer.get()) 71 if (m_webSpeechSynthesizer.get())
72 m_webSpeechSynthesizer->resume(); 72 m_webSpeechSynthesizer->resume();
73 } 73 }
74 74
75 void PlatformSpeechSynthesizer::cancel() 75 void PlatformSpeechSynthesizer::cancel()
76 { 76 {
77 if (m_webSpeechSynthesizer.get()) 77 if (m_webSpeechSynthesizer.get())
78 m_webSpeechSynthesizer->cancel(); 78 m_webSpeechSynthesizer->cancel();
79 } 79 }
80 80
81 void PlatformSpeechSynthesizer::setVoiceList(HeapVector<Member<PlatformSpeechSyn thesisVoice> >& voices) 81 void PlatformSpeechSynthesizer::setVoiceList(HeapVector<Member<PlatformSpeechSyn thesisVoice>>& voices)
82 { 82 {
83 m_voiceList = voices; 83 m_voiceList = voices;
84 } 84 }
85 85
86 void PlatformSpeechSynthesizer::initializeVoiceList() 86 void PlatformSpeechSynthesizer::initializeVoiceList()
87 { 87 {
88 if (m_webSpeechSynthesizer.get()) 88 if (m_webSpeechSynthesizer.get())
89 m_webSpeechSynthesizer->updateVoiceList(); 89 m_webSpeechSynthesizer->updateVoiceList();
90 } 90 }
91 91
92 void PlatformSpeechSynthesizer::trace(Visitor* visitor) 92 void PlatformSpeechSynthesizer::trace(Visitor* visitor)
93 { 93 {
94 visitor->trace(m_speechSynthesizerClient); 94 visitor->trace(m_speechSynthesizerClient);
95 visitor->trace(m_voiceList); 95 visitor->trace(m_voiceList);
96 visitor->trace(m_webSpeechSynthesizerClient); 96 visitor->trace(m_webSpeechSynthesizerClient);
97 } 97 }
98 98
99 } // namespace blink 99 } // namespace blink
OLDNEW
« no previous file with comments | « Source/platform/speech/PlatformSpeechSynthesizer.h ('k') | Source/platform/text/BidiResolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698