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

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

Issue 2696893002: [Blink>Media] Add heuristic for dominant video detection for Android (Closed)
Patch Set: 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 | « 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 blink::WebAudioSourceProvider* getAudioSourceProvider() override; 177 blink::WebAudioSourceProvider* getAudioSourceProvider() override;
178 178
179 void setContentDecryptionModule( 179 void setContentDecryptionModule(
180 blink::WebContentDecryptionModule* cdm, 180 blink::WebContentDecryptionModule* cdm,
181 blink::WebContentDecryptionModuleResult result) override; 181 blink::WebContentDecryptionModuleResult result) override;
182 182
183 bool supportsOverlayFullscreenVideo() override; 183 bool supportsOverlayFullscreenVideo() override;
184 void enteredFullscreen() override; 184 void enteredFullscreen() override;
185 void exitedFullscreen() override; 185 void exitedFullscreen() override;
186 void becameDominantVisibleContent(bool isDominant) override; 186 void becameDominantVisibleContent(bool isDominant) override;
187 void setIsEffectivelyFullscreen(bool isEffectivelyFullscreen) override;
187 188
188 void setPoster(const blink::WebURL& poster) override; 189 void setPoster(const blink::WebURL& poster) override;
189 190
190 // WebMediaPlayerDelegate::Observer implementation. 191 // WebMediaPlayerDelegate::Observer implementation.
191 void OnFrameHidden() override; 192 void OnFrameHidden() override;
192 void OnFrameClosed() override; 193 void OnFrameClosed() override;
193 void OnFrameShown() override; 194 void OnFrameShown() override;
194 void OnIdleTimeout() override; 195 void OnIdleTimeout() override;
195 void OnPlay() override; 196 void OnPlay() override;
196 void OnPause() override; 197 void OnPause() override;
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 // Whether the video requires a user gesture to resume after it was paused in 706 // Whether the video requires a user gesture to resume after it was paused in
706 // the background. Affects the value of ShouldPauseVideoWhenHidden(). 707 // the background. Affects the value of ShouldPauseVideoWhenHidden().
707 bool video_locked_when_paused_when_hidden_ = false; 708 bool video_locked_when_paused_when_hidden_ = false;
708 709
709 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); 710 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
710 }; 711 };
711 712
712 } // namespace media 713 } // namespace media
713 714
714 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 715 #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