| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |