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

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

Issue 2696893002: [Blink>Media] Add heuristic for dominant video detection for Android (Closed)
Patch Set: fixing logic in WMPI 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
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 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 703
703 // Pipeline media duration overridden by tests. 704 // Pipeline media duration overridden by tests.
704 base::Optional<base::TimeDelta> pipeline_media_duration_for_test_; 705 base::Optional<base::TimeDelta> pipeline_media_duration_for_test_;
705 706
706 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); 707 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
707 }; 708 };
708 709
709 } // namespace media 710 } // namespace media
710 711
711 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 712 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698