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 19 matching lines...) Expand all Loading... |
30 virtual void Pause(int player_id) = 0; | 30 virtual void Pause(int player_id) = 0; |
31 | 31 |
32 // Perform seek on the player. | 32 // Perform seek on the player. |
33 virtual void Seek(int player_id, base::TimeDelta time) = 0; | 33 virtual void Seek(int player_id, base::TimeDelta time) = 0; |
34 | 34 |
35 // Release resources for the player. | 35 // Release resources for the player. |
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 |
| 41 // Request the player to enter fullscreen. |
| 42 virtual void EnterFullscreen(int player_id) = 0; |
| 43 |
| 44 // Request the player to exit fullscreen. |
| 45 virtual void ExitFullscreen(int player_id) = 0; |
40 }; | 46 }; |
41 | 47 |
42 } // namespace webkit_media | 48 } // namespace webkit_media |
43 | 49 |
44 #endif // WEBKIT_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ | 50 #endif // WEBKIT_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ |
OLD | NEW |