OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 WEBKIT_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ | 5 #ifndef WEBKIT_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ |
6 #define WEBKIT_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ | 6 #define WEBKIT_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/time.h" | 10 #include "base/time.h" |
(...skipping 25 matching lines...) Expand all Loading... |
36 virtual void ReleaseResources(int player_id) = 0; | 36 virtual void ReleaseResources(int player_id) = 0; |
37 | 37 |
38 // Destroy the player in the browser process | 38 // Destroy the player in the browser process |
39 virtual void DestroyPlayer(int player_id) = 0; | 39 virtual void DestroyPlayer(int player_id) = 0; |
40 | 40 |
41 // Request the player to enter fullscreen. | 41 // Request the player to enter fullscreen. |
42 virtual void EnterFullscreen(int player_id) = 0; | 42 virtual void EnterFullscreen(int player_id) = 0; |
43 | 43 |
44 // Request the player to exit fullscreen. | 44 // Request the player to exit fullscreen. |
45 virtual void ExitFullscreen(int player_id) = 0; | 45 virtual void ExitFullscreen(int player_id) = 0; |
| 46 |
| 47 // Request an external surface for out-of-band compositing. |
| 48 virtual void RequestExternalSurface(int player_id) = 0; |
46 }; | 49 }; |
47 | 50 |
48 } // namespace webkit_media | 51 } // namespace webkit_media |
49 | 52 |
50 #endif // WEBKIT_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ | 53 #endif // WEBKIT_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ |
OLD | NEW |