| 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 unsigned int type, | 162 unsigned int type, |
| 163 bool premultiply_alpha, | 163 bool premultiply_alpha, |
| 164 bool flip_y) override; | 164 bool flip_y) override; |
| 165 | 165 |
| 166 blink::WebAudioSourceProvider* getAudioSourceProvider() override; | 166 blink::WebAudioSourceProvider* getAudioSourceProvider() override; |
| 167 | 167 |
| 168 void setContentDecryptionModule( | 168 void setContentDecryptionModule( |
| 169 blink::WebContentDecryptionModule* cdm, | 169 blink::WebContentDecryptionModule* cdm, |
| 170 blink::WebContentDecryptionModuleResult result) override; | 170 blink::WebContentDecryptionModuleResult result) override; |
| 171 | 171 |
| 172 bool supportsOverlayFullscreenVideo() override; |
| 172 void enteredFullscreen() override; | 173 void enteredFullscreen() override; |
| 173 void exitedFullscreen() override; | 174 void exitedFullscreen() override; |
| 174 | 175 |
| 175 // WebMediaPlayerDelegate::Observer implementation. | 176 // WebMediaPlayerDelegate::Observer implementation. |
| 176 void OnHidden() override; | 177 void OnHidden() override; |
| 177 void OnShown() override; | 178 void OnShown() override; |
| 178 void OnSuspendRequested(bool must_suspend) override; | 179 void OnSuspendRequested(bool must_suspend) override; |
| 179 void OnPlay() override; | 180 void OnPlay() override; |
| 180 void OnPause() override; | 181 void OnPause() override; |
| 181 void OnVolumeMultiplierUpdate(double multiplier) override; | 182 void OnVolumeMultiplierUpdate(double multiplier) override; |
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 496 // state will be set to YES or NO respectively if a frame is available. | 497 // state will be set to YES or NO respectively if a frame is available. |
| 497 enum class CanSuspendState { UNKNOWN, YES, NO }; | 498 enum class CanSuspendState { UNKNOWN, YES, NO }; |
| 498 CanSuspendState can_suspend_state_; | 499 CanSuspendState can_suspend_state_; |
| 499 | 500 |
| 500 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); | 501 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); |
| 501 }; | 502 }; |
| 502 | 503 |
| 503 } // namespace media | 504 } // namespace media |
| 504 | 505 |
| 505 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 506 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ |
| OLD | NEW |