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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 | 175 |
176 blink::WebAudioSourceProvider* getAudioSourceProvider() override; | 176 blink::WebAudioSourceProvider* getAudioSourceProvider() override; |
177 | 177 |
178 void setContentDecryptionModule( | 178 void setContentDecryptionModule( |
179 blink::WebContentDecryptionModule* cdm, | 179 blink::WebContentDecryptionModule* cdm, |
180 blink::WebContentDecryptionModuleResult result) override; | 180 blink::WebContentDecryptionModuleResult result) override; |
181 | 181 |
182 bool supportsOverlayFullscreenVideo() override; | 182 bool supportsOverlayFullscreenVideo() override; |
183 void enteredFullscreen() override; | 183 void enteredFullscreen() override; |
184 void exitedFullscreen() override; | 184 void exitedFullscreen() override; |
| 185 void enteredFullWindow() override; |
| 186 void exitedFullWindow() override; |
185 | 187 |
186 // WebMediaPlayerDelegate::Observer implementation. | 188 // WebMediaPlayerDelegate::Observer implementation. |
187 void OnHidden() override; | 189 void OnHidden() override; |
188 void OnShown() override; | 190 void OnShown() override; |
189 void OnSuspendRequested(bool must_suspend) override; | 191 void OnSuspendRequested(bool must_suspend) override; |
190 void OnPlay() override; | 192 void OnPlay() override; |
191 void OnPause() override; | 193 void OnPause() override; |
192 void OnVolumeMultiplierUpdate(double multiplier) override; | 194 void OnVolumeMultiplierUpdate(double multiplier) override; |
193 | 195 |
194 #if defined(OS_ANDROID) // WMPI_CAST | 196 #if defined(OS_ANDROID) // WMPI_CAST |
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
565 | 567 |
566 // Monitors the player events. | 568 // Monitors the player events. |
567 base::WeakPtr<MediaObserver> observer_; | 569 base::WeakPtr<MediaObserver> observer_; |
568 | 570 |
569 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); | 571 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); |
570 }; | 572 }; |
571 | 573 |
572 } // namespace media | 574 } // namespace media |
573 | 575 |
574 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ | 576 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ |
OLD | NEW |