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

Side by Side Diff: media/blink/webmediaplayer_impl_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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "media/blink/webmediaplayer_impl.h" 5 #include "media/blink/webmediaplayer_impl.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <memory> 9 #include <memory>
10 10
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 void MediaSourceOpened(blink::WebMediaSource*) override {} 91 void MediaSourceOpened(blink::WebMediaSource*) override {}
92 void RequestSeek(double) override {} 92 void RequestSeek(double) override {}
93 void RemoteRouteAvailabilityChanged( 93 void RemoteRouteAvailabilityChanged(
94 blink::WebRemotePlaybackAvailability) override {} 94 blink::WebRemotePlaybackAvailability) override {}
95 void ConnectedToRemoteDevice() override {} 95 void ConnectedToRemoteDevice() override {}
96 void DisconnectedFromRemoteDevice() override {} 96 void DisconnectedFromRemoteDevice() override {}
97 void CancelledRemotePlaybackRequest() override {} 97 void CancelledRemotePlaybackRequest() override {}
98 void RemotePlaybackStarted() override {} 98 void RemotePlaybackStarted() override {}
99 void OnBecamePersistentVideo(bool) override {} 99 void OnBecamePersistentVideo(bool) override {}
100 bool IsAutoplayingMuted() override { return is_autoplaying_muted_; } 100 bool IsAutoplayingMuted() override { return is_autoplaying_muted_; }
101 void RequestReload(const blink::WebURL& newUrl) override {}
102 bool HasSelectedVideoTrack() override { return false; } 101 bool HasSelectedVideoTrack() override { return false; }
103 blink::WebMediaPlayer::TrackId GetSelectedVideoTrackId() override { 102 blink::WebMediaPlayer::TrackId GetSelectedVideoTrackId() override {
104 return blink::WebMediaPlayer::TrackId(); 103 return blink::WebMediaPlayer::TrackId();
105 } 104 }
106 105
107 void set_is_autoplaying_muted(bool value) { is_autoplaying_muted_ = value; } 106 void set_is_autoplaying_muted(bool value) { is_autoplaying_muted_ = value; }
108 107
109 private: 108 private:
110 bool is_autoplaying_muted_ = false; 109 bool is_autoplaying_muted_ = false;
111 110
(...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after
987 WebMediaPlayerImplBackgroundBehaviorTest, 986 WebMediaPlayerImplBackgroundBehaviorTest,
988 ::testing::Combine(::testing::Bool(), 987 ::testing::Combine(::testing::Bool(),
989 ::testing::Bool(), 988 ::testing::Bool(),
990 ::testing::Values(5, 300), 989 ::testing::Values(5, 300),
991 ::testing::Values(5, 100), 990 ::testing::Values(5, 100),
992 ::testing::Bool(), 991 ::testing::Bool(),
993 ::testing::Bool(), 992 ::testing::Bool(),
994 ::testing::Bool())); 993 ::testing::Bool()));
995 994
996 } // namespace media 995 } // namespace media
OLDNEW
« no previous file with comments | « content/renderer/media/webmediaplayer_ms_unittest.cc ('k') | third_party/WebKit/Source/core/html/HTMLMediaElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698