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 CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_PROXY_IMPL_ANDROID_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_PROXY_IMPL_ANDROID_H_ |
6 #define CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_PROXY_IMPL_ANDROID_H_ | 6 #define CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_PROXY_IMPL_ANDROID_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "content/public/renderer/render_view_observer.h" | 10 #include "content/public/renderer/render_view_observer.h" |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 void OnMediaBufferingUpdate(int player_id, int percent); | 54 void OnMediaBufferingUpdate(int player_id, int percent); |
55 void OnMediaSeekCompleted(int player_id, base::TimeDelta current_time); | 55 void OnMediaSeekCompleted(int player_id, base::TimeDelta current_time); |
56 void OnMediaError(int player_id, int error); | 56 void OnMediaError(int player_id, int error); |
57 void OnVideoSizeChanged(int player_id, int width, int height); | 57 void OnVideoSizeChanged(int player_id, int width, int height); |
58 void OnTimeUpdate(int player_id, base::TimeDelta current_time); | 58 void OnTimeUpdate(int player_id, base::TimeDelta current_time); |
59 void OnMediaPlayerReleased(int player_id); | 59 void OnMediaPlayerReleased(int player_id); |
60 void OnDidExitFullscreen(int player_id); | 60 void OnDidExitFullscreen(int player_id); |
61 void OnDidEnterFullscreen(int player_id); | 61 void OnDidEnterFullscreen(int player_id); |
62 void OnPlayerPlay(int player_id); | 62 void OnPlayerPlay(int player_id); |
63 void OnPlayerPause(int player_id); | 63 void OnPlayerPause(int player_id); |
| 64 void OnDidExitVideoView(int player_id); |
| 65 void OnDidEnterVideoView(int player_id); |
64 | 66 |
65 webkit_media::WebMediaPlayerManagerAndroid* manager_; | 67 webkit_media::WebMediaPlayerManagerAndroid* manager_; |
66 | 68 |
67 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerProxyImplAndroid); | 69 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerProxyImplAndroid); |
68 }; | 70 }; |
69 | 71 |
70 } // namespace content | 72 } // namespace content |
71 | 73 |
72 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_PROXY_IMPL_ANDROID_H_ | 74 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_PROXY_IMPL_ANDROID_H_ |
OLD | NEW |