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

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

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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/web/WebMediaPlayerClientImpl.h ('k') | Source/web/WebMediaStreamRegistry.cpp » ('j') | 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 "InbandTextTrackPrivateImpl.h" 8 #include "InbandTextTrackPrivateImpl.h"
9 #include "MediaSourcePrivateImpl.h" 9 #include "MediaSourcePrivateImpl.h"
10 #include "WebDocument.h" 10 #include "WebDocument.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include "SkGrPixelRef.h" 43 #include "SkGrPixelRef.h"
44 #include "core/platform/graphics/gpu/SharedGraphicsContext3D.h" 44 #include "core/platform/graphics/gpu/SharedGraphicsContext3D.h"
45 #endif 45 #endif
46 46
47 47
48 #include "wtf/Assertions.h" 48 #include "wtf/Assertions.h"
49 #include "wtf/text/CString.h" 49 #include "wtf/text/CString.h"
50 50
51 using namespace WebCore; 51 using namespace WebCore;
52 52
53 namespace WebKit { 53 namespace blink {
54 54
55 static PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(WebMediaPlayerClient* cli ent, const WebURL& url, Frame* frame) 55 static PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(WebMediaPlayerClient* cli ent, const WebURL& url, Frame* frame)
56 { 56 {
57 WebFrameImpl* webFrame = WebFrameImpl::fromFrame(frame); 57 WebFrameImpl* webFrame = WebFrameImpl::fromFrame(frame);
58 58
59 if (!webFrame->client()) 59 if (!webFrame->client())
60 return nullptr; 60 return nullptr;
61 return adoptPtr(webFrame->client()->createMediaPlayer(webFrame, url, client) ); 61 return adoptPtr(webFrame->client()->createMediaPlayer(webFrame, url, client) );
62 } 62 }
63 63
(...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 } 752 }
753 753
754 void WebMediaPlayerClientImpl::AudioClientImpl::setFormat(size_t numberOfChannel s, float sampleRate) 754 void WebMediaPlayerClientImpl::AudioClientImpl::setFormat(size_t numberOfChannel s, float sampleRate)
755 { 755 {
756 if (m_client) 756 if (m_client)
757 m_client->setFormat(numberOfChannels, sampleRate); 757 m_client->setFormat(numberOfChannels, sampleRate);
758 } 758 }
759 759
760 #endif 760 #endif
761 761
762 } // namespace WebKit 762 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/WebMediaPlayerClientImpl.h ('k') | Source/web/WebMediaStreamRegistry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698