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

Side by Side Diff: media/blink/webmediaplayer_impl.h

Issue 1952133003: WebMediaPlayerImpl now uses OverlayFullscreenVideo mode on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 5 #ifndef MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
6 #define MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 6 #define MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 unsigned int type, 162 unsigned int type,
163 bool premultiply_alpha, 163 bool premultiply_alpha,
164 bool flip_y) override; 164 bool flip_y) override;
165 165
166 blink::WebAudioSourceProvider* getAudioSourceProvider() override; 166 blink::WebAudioSourceProvider* getAudioSourceProvider() override;
167 167
168 void setContentDecryptionModule( 168 void setContentDecryptionModule(
169 blink::WebContentDecryptionModule* cdm, 169 blink::WebContentDecryptionModule* cdm,
170 blink::WebContentDecryptionModuleResult result) override; 170 blink::WebContentDecryptionModuleResult result) override;
171 171
172 bool supportsOverlayFullscreenVideo() override;
172 void enteredFullscreen() override; 173 void enteredFullscreen() override;
173 void exitedFullscreen() override; 174 void exitedFullscreen() override;
174 175
175 // WebMediaPlayerDelegate::Observer implementation. 176 // WebMediaPlayerDelegate::Observer implementation.
176 void OnHidden() override; 177 void OnHidden() override;
177 void OnShown() override; 178 void OnShown() override;
178 void OnSuspendRequested(bool must_suspend) override; 179 void OnSuspendRequested(bool must_suspend) override;
179 void OnPlay() override; 180 void OnPlay() override;
180 void OnPause() override; 181 void OnPause() override;
181 void OnVolumeMultiplierUpdate(double multiplier) override; 182 void OnVolumeMultiplierUpdate(double multiplier) override;
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 // state will be set to YES or NO respectively if a frame is available. 497 // state will be set to YES or NO respectively if a frame is available.
497 enum class CanSuspendState { UNKNOWN, YES, NO }; 498 enum class CanSuspendState { UNKNOWN, YES, NO };
498 CanSuspendState can_suspend_state_; 499 CanSuspendState can_suspend_state_;
499 500
500 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); 501 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
501 }; 502 };
502 503
503 } // namespace media 504 } // namespace media
504 505
505 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 506 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | media/blink/webmediaplayer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698