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

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

Issue 2511143006: Detect change on the intersection of video and viewport. (Closed)
Patch Set: Rebase again. Created 4 years 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/base/media_observer.h ('k') | 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 174
175 blink::WebAudioSourceProvider* getAudioSourceProvider() override; 175 blink::WebAudioSourceProvider* getAudioSourceProvider() override;
176 176
177 void setContentDecryptionModule( 177 void setContentDecryptionModule(
178 blink::WebContentDecryptionModule* cdm, 178 blink::WebContentDecryptionModule* cdm,
179 blink::WebContentDecryptionModuleResult result) override; 179 blink::WebContentDecryptionModuleResult result) override;
180 180
181 bool supportsOverlayFullscreenVideo() override; 181 bool supportsOverlayFullscreenVideo() override;
182 void enteredFullscreen() override; 182 void enteredFullscreen() override;
183 void exitedFullscreen() override; 183 void exitedFullscreen() override;
184 void becameDominantVisibleContent(bool isDominant) override;
184 185
185 // WebMediaPlayerDelegate::Observer implementation. 186 // WebMediaPlayerDelegate::Observer implementation.
186 void OnHidden() override; 187 void OnHidden() override;
187 void OnShown() override; 188 void OnShown() override;
188 bool OnSuspendRequested(bool must_suspend) override; 189 bool OnSuspendRequested(bool must_suspend) override;
189 void OnPlay() override; 190 void OnPlay() override;
190 void OnPause() override; 191 void OnPause() override;
191 void OnVolumeMultiplierUpdate(double multiplier) override; 192 void OnVolumeMultiplierUpdate(double multiplier) override;
192 193
193 void requestRemotePlaybackDisabled(bool disabled) override; 194 void requestRemotePlaybackDisabled(bool disabled) override;
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 578
578 // Whether the player is currently in autoplay muted state. 579 // Whether the player is currently in autoplay muted state.
579 bool autoplay_muted_ = false; 580 bool autoplay_muted_ = false;
580 581
581 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); 582 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
582 }; 583 };
583 584
584 } // namespace media 585 } // namespace media
585 586
586 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 587 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
OLDNEW
« no previous file with comments | « media/base/media_observer.h ('k') | media/blink/webmediaplayer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698