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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 void OnVideoSizeChanged(int player_id, int width, int height); | 72 void OnVideoSizeChanged(int player_id, int width, int height); |
73 void OnTimeUpdate(int player_id, base::TimeDelta current_time); | 73 void OnTimeUpdate(int player_id, base::TimeDelta current_time); |
74 void OnMediaPlayerReleased(int player_id); | 74 void OnMediaPlayerReleased(int player_id); |
75 void OnDidExitFullscreen(int player_id); | 75 void OnDidExitFullscreen(int player_id); |
76 void OnDidEnterFullscreen(int player_id); | 76 void OnDidEnterFullscreen(int player_id); |
77 void OnPlayerPlay(int player_id); | 77 void OnPlayerPlay(int player_id); |
78 void OnPlayerPause(int player_id); | 78 void OnPlayerPause(int player_id); |
79 void OnReadFromDemuxer( | 79 void OnReadFromDemuxer( |
80 int player_id, media::DemuxerStream::Type type, bool seek_done); | 80 int player_id, media::DemuxerStream::Type type, bool seek_done); |
81 void OnMediaSeekRequest(int player_id, base::TimeDelta time_to_seek, | 81 void OnMediaSeekRequest(int player_id, base::TimeDelta time_to_seek, |
82 bool request_texture_peer); | 82 unsigned seek_request_id); |
| 83 void OnMediaConfigRequest(int player_id); |
83 | 84 |
84 webkit_media::WebMediaPlayerManagerAndroid* manager_; | 85 webkit_media::WebMediaPlayerManagerAndroid* manager_; |
85 | 86 |
86 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerProxyImplAndroid); | 87 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerProxyImplAndroid); |
87 }; | 88 }; |
88 | 89 |
89 } // namespace content | 90 } // namespace content |
90 | 91 |
91 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_PROXY_IMPL_ANDROID_H_ | 92 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_PROXY_IMPL_ANDROID_H_ |
OLD | NEW |