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

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

Issue 2511143006: Detect change on the intersection of video and viewport. (Closed)
Patch Set: Created 4 years, 1 month 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 176
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 videoViewportIntersectionChanged(
miu 2016/11/21 21:07:03 ditto: remove "video" from name.
xjz 2016/11/21 23:58:42 Done.
187 const blink::WebMediaPlayer::ViewportIntersectionInfo& info) override;
186 188
187 // WebMediaPlayerDelegate::Observer implementation. 189 // WebMediaPlayerDelegate::Observer implementation.
188 void OnHidden() override; 190 void OnHidden() override;
189 void OnShown() override; 191 void OnShown() override;
190 bool OnSuspendRequested(bool must_suspend) override; 192 bool OnSuspendRequested(bool must_suspend) override;
191 void OnPlay() override; 193 void OnPlay() override;
192 void OnPause() override; 194 void OnPause() override;
193 void OnVolumeMultiplierUpdate(double multiplier) override; 195 void OnVolumeMultiplierUpdate(double multiplier) override;
194 196
195 #if defined(OS_ANDROID) // WMPI_CAST 197 #if defined(OS_ANDROID) // WMPI_CAST
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 581
580 // Whether the player is currently in autoplay muted state. 582 // Whether the player is currently in autoplay muted state.
581 bool autoplay_muted_ = false; 583 bool autoplay_muted_ = false;
582 584
583 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); 585 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
584 }; 586 };
585 587
586 } // namespace media 588 } // namespace media
587 589
588 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 590 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698