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

Side by Side Diff: Source/web/WebMediaPlayerClientImpl.cpp

Issue 92763002: Rename addTrack and removeTrack functions to addTextTrack and removeTextTrack. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased to apply cleanly Created 6 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/graphics/media/MediaPlayer.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 (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "config.h" 5 #include "config.h"
6 #include "WebMediaPlayerClientImpl.h" 6 #include "WebMediaPlayerClientImpl.h"
7 7
8 #include "WebDocument.h" 8 #include "WebDocument.h"
9 #include "WebFrameClient.h" 9 #include "WebFrameClient.h"
10 #include "WebFrameImpl.h" 10 #include "WebFrameImpl.h"
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 { 169 {
170 ASSERT(m_helperPlugin); 170 ASSERT(m_helperPlugin);
171 toWebViewImpl(frame->view())->closeHelperPluginSoon(m_helperPlugin.release() ); 171 toWebViewImpl(frame->view())->closeHelperPluginSoon(m_helperPlugin.release() );
172 } 172 }
173 173
174 void WebMediaPlayerClientImpl::setWebLayer(blink::WebLayer* layer) 174 void WebMediaPlayerClientImpl::setWebLayer(blink::WebLayer* layer)
175 { 175 {
176 m_client->mediaPlayerSetWebLayer(layer); 176 m_client->mediaPlayerSetWebLayer(layer);
177 } 177 }
178 178
179 void WebMediaPlayerClientImpl::addTextTrack(WebInbandTextTrack* textTrack) 179 void WebMediaPlayerClientImpl::addTextTrack(WebInbandTextTrack* track)
180 { 180 {
181 m_client->mediaPlayerDidAddTrack(textTrack); 181 m_client->mediaPlayerDidAddTextTrack(track);
182 } 182 }
183 183
184 void WebMediaPlayerClientImpl::removeTextTrack(WebInbandTextTrack* textTrack) 184 void WebMediaPlayerClientImpl::removeTextTrack(WebInbandTextTrack* track)
185 { 185 {
186 m_client->mediaPlayerDidRemoveTrack(textTrack); 186 m_client->mediaPlayerDidRemoveTextTrack(track);
187 } 187 }
188 188
189 void WebMediaPlayerClientImpl::mediaSourceOpened(WebMediaSource* webMediaSource) 189 void WebMediaPlayerClientImpl::mediaSourceOpened(WebMediaSource* webMediaSource)
190 { 190 {
191 ASSERT(webMediaSource); 191 ASSERT(webMediaSource);
192 m_client->mediaPlayerMediaSourceOpened(webMediaSource); 192 m_client->mediaPlayerMediaSourceOpened(webMediaSource);
193 } 193 }
194 194
195 void WebMediaPlayerClientImpl::requestFullscreen() 195 void WebMediaPlayerClientImpl::requestFullscreen()
196 { 196 {
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 670
671 void WebMediaPlayerClientImpl::AudioClientImpl::setFormat(size_t numberOfChannel s, float sampleRate) 671 void WebMediaPlayerClientImpl::AudioClientImpl::setFormat(size_t numberOfChannel s, float sampleRate)
672 { 672 {
673 if (m_client) 673 if (m_client)
674 m_client->setFormat(numberOfChannels, sampleRate); 674 m_client->setFormat(numberOfChannels, sampleRate);
675 } 675 }
676 676
677 #endif 677 #endif
678 678
679 } // namespace blink 679 } // namespace blink
OLDNEW
« no previous file with comments | « Source/platform/graphics/media/MediaPlayer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698