| OLD | NEW |
| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 void addTextTrack(blink::WebInbandTextTrack*) override {} | 82 void addTextTrack(blink::WebInbandTextTrack*) override {} |
| 83 void removeTextTrack(blink::WebInbandTextTrack*) override {} | 83 void removeTextTrack(blink::WebInbandTextTrack*) override {} |
| 84 void mediaSourceOpened(blink::WebMediaSource*) override {} | 84 void mediaSourceOpened(blink::WebMediaSource*) override {} |
| 85 void requestSeek(double) override {} | 85 void requestSeek(double) override {} |
| 86 void remoteRouteAvailabilityChanged( | 86 void remoteRouteAvailabilityChanged( |
| 87 blink::WebRemotePlaybackAvailability) override {} | 87 blink::WebRemotePlaybackAvailability) override {} |
| 88 void connectedToRemoteDevice() override {} | 88 void connectedToRemoteDevice() override {} |
| 89 void disconnectedFromRemoteDevice() override {} | 89 void disconnectedFromRemoteDevice() override {} |
| 90 void cancelledRemotePlaybackRequest() override {} | 90 void cancelledRemotePlaybackRequest() override {} |
| 91 void remotePlaybackStarted() override {} | 91 void remotePlaybackStarted() override {} |
| 92 void onBecamePersistentVideo(bool) override {} |
| 92 bool isAutoplayingMuted() override { return is_autoplaying_muted_; } | 93 bool isAutoplayingMuted() override { return is_autoplaying_muted_; } |
| 93 void requestReload(const blink::WebURL& newUrl) override {} | 94 void requestReload(const blink::WebURL& newUrl) override {} |
| 94 bool hasSelectedVideoTrack() override { return false; } | 95 bool hasSelectedVideoTrack() override { return false; } |
| 95 blink::WebMediaPlayer::TrackId getSelectedVideoTrackId() override { | 96 blink::WebMediaPlayer::TrackId getSelectedVideoTrackId() override { |
| 96 return blink::WebMediaPlayer::TrackId(); | 97 return blink::WebMediaPlayer::TrackId(); |
| 97 } | 98 } |
| 98 | 99 |
| 99 void set_is_autoplaying_muted(bool value) { is_autoplaying_muted_ = value; } | 100 void set_is_autoplaying_muted(bool value) { is_autoplaying_muted_ = value; } |
| 100 | 101 |
| 101 private: | 102 private: |
| (...skipping 816 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 918 | 919 |
| 919 INSTANTIATE_TEST_CASE_P(BackgroundBehaviorTestInstances, | 920 INSTANTIATE_TEST_CASE_P(BackgroundBehaviorTestInstances, |
| 920 WebMediaPlayerImplBackgroundBehaviorTest, | 921 WebMediaPlayerImplBackgroundBehaviorTest, |
| 921 ::testing::Combine(::testing::Bool(), | 922 ::testing::Combine(::testing::Bool(), |
| 922 ::testing::Bool(), | 923 ::testing::Bool(), |
| 923 ::testing::Values(5, 300), | 924 ::testing::Values(5, 300), |
| 924 ::testing::Values(5, 100), | 925 ::testing::Values(5, 100), |
| 925 ::testing::Bool())); | 926 ::testing::Bool())); |
| 926 | 927 |
| 927 } // namespace media | 928 } // namespace media |
| OLD | NEW |