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

Side by Side Diff: webkit/support/webkit_support.cc

Issue 10808089: Merge 146897 - WebMediaPlayerImpl needs to own the audio source provider. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1180/src/
Patch Set: Created 8 years, 5 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 | « webkit/media/webmediaplayer_impl.cc ('k') | webkit/tools/test_shell/test_webview_delegate.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "webkit/support/webkit_support.h" 5 #include "webkit/support/webkit_support.h"
6 6
7 #include "base/at_exit.h" 7 #include "base/at_exit.h"
8 #include "base/base64.h" 8 #include "base/base64.h"
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 365
366 scoped_ptr<media::FilterCollection> collection( 366 scoped_ptr<media::FilterCollection> collection(
367 new media::FilterCollection()); 367 new media::FilterCollection());
368 368
369 return new webkit_media::WebMediaPlayerImpl( 369 return new webkit_media::WebMediaPlayerImpl(
370 frame, 370 frame,
371 client, 371 client,
372 base::WeakPtr<webkit_media::WebMediaPlayerDelegate>(), 372 base::WeakPtr<webkit_media::WebMediaPlayerDelegate>(),
373 collection.release(), 373 collection.release(),
374 NULL, 374 NULL,
375 NULL,
375 message_loop_factory.release(), 376 message_loop_factory.release(),
376 media_stream_client, 377 media_stream_client,
377 new media::MediaLog()); 378 new media::MediaLog());
378 #endif 379 #endif
379 } 380 }
380 381
381 WebKit::WebMediaPlayer* CreateMediaPlayer( 382 WebKit::WebMediaPlayer* CreateMediaPlayer(
382 WebFrame* frame, 383 WebFrame* frame,
383 WebMediaPlayerClient* client) { 384 WebMediaPlayerClient* client) {
384 return CreateMediaPlayer(frame, client, NULL); 385 return CreateMediaPlayer(frame, client, NULL);
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 // Logging 790 // Logging
790 void EnableWebCoreLogChannels(const std::string& channels) { 791 void EnableWebCoreLogChannels(const std::string& channels) {
791 webkit_glue::EnableWebCoreLogChannels(channels); 792 webkit_glue::EnableWebCoreLogChannels(channels);
792 } 793 }
793 794
794 void SetGamepadData(const WebKit::WebGamepads& pads) { 795 void SetGamepadData(const WebKit::WebGamepads& pads) {
795 test_environment->webkit_platform_support()->setGamepadData(pads); 796 test_environment->webkit_platform_support()->setGamepadData(pads);
796 } 797 }
797 798
798 } // namespace webkit_support 799 } // namespace webkit_support
OLDNEW
« no previous file with comments | « webkit/media/webmediaplayer_impl.cc ('k') | webkit/tools/test_shell/test_webview_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698