| 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |