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

Side by Side Diff: media/blink/webmediaplayer_impl_unittest.cc

Issue 2756553002: Force the video to go fullscreen when setting persistent video (Closed)
Patch Set: addressed nits Created 3 years, 9 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 | « media/blink/webmediaplayer_impl.cc ('k') | third_party/WebKit/Source/core/BUILD.gn » ('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 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
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
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
OLDNEW
« no previous file with comments | « media/blink/webmediaplayer_impl.cc ('k') | third_party/WebKit/Source/core/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698