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

Side by Side Diff: Source/WebKit/chromium/src/WebMediaPlayerClientImpl.cpp

Issue 14619016: Add WebKit prefix to MediaSource,SourceBuffer, and SourceBufferList objects. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 7 years, 7 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 // 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 "InbandTextTrackPrivateImpl.h" 8 #include "InbandTextTrackPrivateImpl.h"
9 #include "WebAudioSourceProvider.h" 9 #include "WebAudioSourceProvider.h"
10 #include "WebDocument.h" 10 #include "WebDocument.h"
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 307
308 // MediaPlayerPrivateInterface ------------------------------------------------- 308 // MediaPlayerPrivateInterface -------------------------------------------------
309 309
310 void WebMediaPlayerClientImpl::load(const String& url) 310 void WebMediaPlayerClientImpl::load(const String& url)
311 { 311 {
312 m_url = KURL(ParsedURLString, url); 312 m_url = KURL(ParsedURLString, url);
313 m_mediaSource = 0; 313 m_mediaSource = 0;
314 loadRequested(); 314 loadRequested();
315 } 315 }
316 316
317 void WebMediaPlayerClientImpl::load(const String& url, PassRefPtr<WebCore::Media Source> mediaSource) 317 void WebMediaPlayerClientImpl::load(const String& url, PassRefPtr<WebCore::WebKi tMediaSource> mediaSource)
318 { 318 {
319 m_url = KURL(ParsedURLString, url); 319 m_url = KURL(ParsedURLString, url);
320 m_mediaSource = mediaSource; 320 m_mediaSource = mediaSource;
321 loadRequested(); 321 loadRequested();
322 } 322 }
323 323
324 void WebMediaPlayerClientImpl::loadRequested() 324 void WebMediaPlayerClientImpl::loadRequested()
325 { 325 {
326 if (m_preload == MediaPlayer::None) { 326 if (m_preload == MediaPlayer::None) {
327 #if ENABLE(WEB_AUDIO) 327 #if ENABLE(WEB_AUDIO)
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after
879 879
880 void WebMediaPlayerClientImpl::AudioClientImpl::setFormat(size_t numberOfChannel s, float sampleRate) 880 void WebMediaPlayerClientImpl::AudioClientImpl::setFormat(size_t numberOfChannel s, float sampleRate)
881 { 881 {
882 if (m_client) 882 if (m_client)
883 m_client->setFormat(numberOfChannels, sampleRate); 883 m_client->setFormat(numberOfChannels, sampleRate);
884 } 884 }
885 885
886 #endif 886 #endif
887 887
888 } // namespace WebKit 888 } // namespace WebKit
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/WebMediaPlayerClientImpl.h ('k') | Source/WebKit/chromium/src/WebMediaSourceImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698