| 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 unsigned int type, | 164 unsigned int type, |
| 165 bool premultiply_alpha, | 165 bool premultiply_alpha, |
| 166 bool flip_y) override; | 166 bool flip_y) override; |
| 167 | 167 |
| 168 blink::WebAudioSourceProvider* getAudioSourceProvider() override; | 168 blink::WebAudioSourceProvider* getAudioSourceProvider() override; |
| 169 | 169 |
| 170 void setContentDecryptionModule( | 170 void setContentDecryptionModule( |
| 171 blink::WebContentDecryptionModule* cdm, | 171 blink::WebContentDecryptionModule* cdm, |
| 172 blink::WebContentDecryptionModuleResult result) override; | 172 blink::WebContentDecryptionModuleResult result) override; |
| 173 | 173 |
| 174 bool supportsOverlayFullscreenVideo() override; | 174 WebMediaPlayer::OverlayFullscreenVideoMode getOverlayFullscreenVideoMode() |
| 175 override; |
| 175 void enteredFullscreen() override; | 176 void enteredFullscreen() override; |
| 176 void exitedFullscreen() override; | 177 void exitedFullscreen() override; |
| 177 | 178 |
| 178 // WebMediaPlayerDelegate::Observer implementation. | 179 // WebMediaPlayerDelegate::Observer implementation. |
| 179 void OnHidden() override; | 180 void OnHidden() override; |
| 180 void OnShown() override; | 181 void OnShown() override; |
| 181 void OnSuspendRequested(bool must_suspend) override; | 182 void OnSuspendRequested(bool must_suspend) override; |
| 182 void OnPlay() override; | 183 void OnPlay() override; |
| 183 void OnPause() override; | 184 void OnPause() override; |
| 184 void OnVolumeMultiplierUpdate(double multiplier) override; | 185 void OnVolumeMultiplierUpdate(double multiplier) override; |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 511 // Called some-time after OnHidden() if the media was suspended in a playing | 512 // Called some-time after OnHidden() if the media was suspended in a playing |
| 512 // state as part of the call to OnHidden(). | 513 // state as part of the call to OnHidden(). |
| 513 base::OneShotTimer background_pause_timer_; | 514 base::OneShotTimer background_pause_timer_; |
| 514 | 515 |
| 515 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); | 516 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); |
| 516 }; | 517 }; |
| 517 | 518 |
| 518 } // namespace media | 519 } // namespace media |
| 519 | 520 |
| 520 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 521 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ |
| OLD | NEW |