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

Side by Side Diff: content/renderer/media/webmediaplayer_ms_unittest.cc

Issue 2844963006: Remove WebMediaPlayerClient::RequestReload() (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | media/blink/webmediaplayer_impl_unittest.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 <stddef.h> 5 #include <stddef.h>
6 6
7 #include "base/run_loop.h" 7 #include "base/run_loop.h"
8 #include "base/single_thread_task_runner.h" 8 #include "base/single_thread_task_runner.h"
9 #include "content/public/renderer/media_stream_renderer_factory.h" 9 #include "content/public/renderer/media_stream_renderer_factory.h"
10 #include "content/renderer/media/webmediaplayer_ms.h" 10 #include "content/renderer/media/webmediaplayer_ms.h"
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 void MediaSourceOpened(blink::WebMediaSource*) override {} 452 void MediaSourceOpened(blink::WebMediaSource*) override {}
453 void RequestSeek(double) override {} 453 void RequestSeek(double) override {}
454 void RemoteRouteAvailabilityChanged( 454 void RemoteRouteAvailabilityChanged(
455 blink::WebRemotePlaybackAvailability) override {} 455 blink::WebRemotePlaybackAvailability) override {}
456 void ConnectedToRemoteDevice() override {} 456 void ConnectedToRemoteDevice() override {}
457 void DisconnectedFromRemoteDevice() override {} 457 void DisconnectedFromRemoteDevice() override {}
458 void CancelledRemotePlaybackRequest() override {} 458 void CancelledRemotePlaybackRequest() override {}
459 void RemotePlaybackStarted() override {} 459 void RemotePlaybackStarted() override {}
460 void OnBecamePersistentVideo(bool) override {} 460 void OnBecamePersistentVideo(bool) override {}
461 bool IsAutoplayingMuted() override { return false; } 461 bool IsAutoplayingMuted() override { return false; }
462 void RequestReload(const blink::WebURL& newUrl) override {}
463 bool HasSelectedVideoTrack() override { return false; } 462 bool HasSelectedVideoTrack() override { return false; }
464 blink::WebMediaPlayer::TrackId GetSelectedVideoTrackId() override { 463 blink::WebMediaPlayer::TrackId GetSelectedVideoTrackId() override {
465 return blink::WebMediaPlayer::TrackId(); 464 return blink::WebMediaPlayer::TrackId();
466 } 465 }
467 466
468 // Implementation of cc::VideoFrameProvider::Client 467 // Implementation of cc::VideoFrameProvider::Client
469 void StopUsingProvider() override; 468 void StopUsingProvider() override;
470 void StartRendering() override; 469 void StartRendering() override;
471 void StopRendering() override; 470 void StopRendering() override;
472 void DidReceiveFrame() override {} 471 void DidReceiveFrame() override {}
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
969 // OnShown() should restart after a forced suspension. 968 // OnShown() should restart after a forced suspension.
970 player_->OnFrameShown(); 969 player_->OnFrameShown();
971 EXPECT_FALSE(player_->Paused()); 970 EXPECT_FALSE(player_->Paused());
972 EXPECT_CALL(*this, DoSetWebLayer(false)); 971 EXPECT_CALL(*this, DoSetWebLayer(false));
973 972
974 base::RunLoop().RunUntilIdle(); 973 base::RunLoop().RunUntilIdle();
975 } 974 }
976 #endif 975 #endif
977 976
978 } // namespace content 977 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | media/blink/webmediaplayer_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698