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

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

Issue 180173002: Rename text track methods to make way for audio & video tracks. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
« 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 m_helperPlugin.clear(); 172 m_helperPlugin.clear();
173 } 173 }
174 174
175 void WebMediaPlayerClientImpl::setWebLayer(blink::WebLayer* layer) 175 void WebMediaPlayerClientImpl::setWebLayer(blink::WebLayer* layer)
176 { 176 {
177 m_client->mediaPlayerSetWebLayer(layer); 177 m_client->mediaPlayerSetWebLayer(layer);
178 } 178 }
179 179
180 void WebMediaPlayerClientImpl::addTextTrack(WebInbandTextTrack* textTrack) 180 void WebMediaPlayerClientImpl::addTextTrack(WebInbandTextTrack* textTrack)
181 { 181 {
182 m_client->mediaPlayerDidAddTrack(textTrack); 182 m_client->mediaPlayerDidAddTextTrack(textTrack);
183 } 183 }
184 184
185 void WebMediaPlayerClientImpl::removeTextTrack(WebInbandTextTrack* textTrack) 185 void WebMediaPlayerClientImpl::removeTextTrack(WebInbandTextTrack* textTrack)
186 { 186 {
187 m_client->mediaPlayerDidRemoveTrack(textTrack); 187 m_client->mediaPlayerDidRemoveTextTrack(textTrack);
188 } 188 }
189 189
190 void WebMediaPlayerClientImpl::mediaSourceOpened(WebMediaSource* webMediaSource) 190 void WebMediaPlayerClientImpl::mediaSourceOpened(WebMediaSource* webMediaSource)
191 { 191 {
192 ASSERT(webMediaSource); 192 ASSERT(webMediaSource);
193 m_client->mediaPlayerMediaSourceOpened(webMediaSource); 193 m_client->mediaPlayerMediaSourceOpened(webMediaSource);
194 } 194 }
195 195
196 void WebMediaPlayerClientImpl::requestFullscreen() 196 void WebMediaPlayerClientImpl::requestFullscreen()
197 { 197 {
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 676
677 void WebMediaPlayerClientImpl::AudioClientImpl::setFormat(size_t numberOfChannel s, float sampleRate) 677 void WebMediaPlayerClientImpl::AudioClientImpl::setFormat(size_t numberOfChannel s, float sampleRate)
678 { 678 {
679 if (m_client) 679 if (m_client)
680 m_client->setFormat(numberOfChannels, sampleRate); 680 m_client->setFormat(numberOfChannels, sampleRate);
681 } 681 }
682 682
683 #endif 683 #endif
684 684
685 } // namespace blink 685 } // 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