| 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 unsigned int texture, | 171 unsigned int texture, |
| 172 bool premultiply_alpha, | 172 bool premultiply_alpha, |
| 173 bool flip_y) override; | 173 bool flip_y) override; |
| 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 void SetEnableFullscreenOverlays(bool enable_overlays); | |
| 182 bool supportsOverlayFullscreenVideo() override; | 181 bool supportsOverlayFullscreenVideo() override; |
| 183 void enteredFullscreen() override; | 182 void enteredFullscreen() override; |
| 184 void exitedFullscreen() override; | 183 void exitedFullscreen() override; |
| 185 void becameDominantVisibleContent(bool isDominant) override; | 184 void becameDominantVisibleContent(bool isDominant) override; |
| 186 | 185 |
| 187 void setPoster(const blink::WebURL& poster) override; | 186 void setPoster(const blink::WebURL& poster) override; |
| 188 | 187 |
| 189 // WebMediaPlayerDelegate::Observer implementation. | 188 // WebMediaPlayerDelegate::Observer implementation. |
| 190 void OnFrameHidden() override; | 189 void OnFrameHidden() override; |
| 191 void OnFrameClosed() override; | 190 void OnFrameClosed() override; |
| (...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 650 | 649 |
| 651 // Pipeline statistics overridden by tests. | 650 // Pipeline statistics overridden by tests. |
| 652 base::Optional<PipelineStatistics> pipeline_statistics_for_test_; | 651 base::Optional<PipelineStatistics> pipeline_statistics_for_test_; |
| 653 | 652 |
| 654 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); | 653 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); |
| 655 }; | 654 }; |
| 656 | 655 |
| 657 } // namespace media | 656 } // namespace media |
| 658 | 657 |
| 659 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 658 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ |
| OLD | NEW |