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 26 matching lines...) Expand all Loading... |
37 virtual void ReleaseResources(int player_id) = 0; | 37 virtual void ReleaseResources(int player_id) = 0; |
38 | 38 |
39 // Destroy the player in the browser process | 39 // Destroy the player in the browser process |
40 virtual void DestroyPlayer(int player_id) = 0; | 40 virtual void DestroyPlayer(int player_id) = 0; |
41 | 41 |
42 // Request the player to enter fullscreen. | 42 // Request the player to enter fullscreen. |
43 virtual void EnterFullscreen(int player_id) = 0; | 43 virtual void EnterFullscreen(int player_id) = 0; |
44 | 44 |
45 // Request the player to exit fullscreen. | 45 // Request the player to exit fullscreen. |
46 virtual void ExitFullscreen(int player_id) = 0; | 46 virtual void ExitFullscreen(int player_id) = 0; |
| 47 |
| 48 // Request an external surface for out-of-band compositing. |
| 49 virtual void RequestExternalSurface(int player_id) = 0; |
47 }; | 50 }; |
48 | 51 |
49 } // namespace webkit_media | 52 } // namespace webkit_media |
50 | 53 |
51 #endif // WEBKIT_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ | 54 #endif // WEBKIT_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ |
OLD | NEW |