| 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 void OnVideoSizeChanged(int player_id, int width, int height); | 88 void OnVideoSizeChanged(int player_id, int width, int height); |
| 89 void OnTimeUpdate(int player_id, base::TimeDelta current_time); | 89 void OnTimeUpdate(int player_id, base::TimeDelta current_time); |
| 90 void OnMediaPlayerReleased(int player_id); | 90 void OnMediaPlayerReleased(int player_id); |
| 91 void OnDidExitFullscreen(int player_id); | 91 void OnDidExitFullscreen(int player_id); |
| 92 void OnDidEnterFullscreen(int player_id); | 92 void OnDidEnterFullscreen(int player_id); |
| 93 void OnPlayerPlay(int player_id); | 93 void OnPlayerPlay(int player_id); |
| 94 void OnPlayerPause(int player_id); | 94 void OnPlayerPause(int player_id); |
| 95 void OnReadFromDemuxer( | 95 void OnReadFromDemuxer( |
| 96 int player_id, media::DemuxerStream::Type type, bool seek_done); | 96 int player_id, media::DemuxerStream::Type type, bool seek_done); |
| 97 void OnMediaSeekRequest(int player_id, base::TimeDelta time_to_seek, | 97 void OnMediaSeekRequest(int player_id, base::TimeDelta time_to_seek, |
| 98 bool request_texture_peer); | 98 unsigned seek_request_id); |
| 99 void OnMediaConfigRequest(int player_id); |
| 99 void OnKeyAdded(int player_id, | 100 void OnKeyAdded(int player_id, |
| 100 const std::string& key_system, | 101 const std::string& key_system, |
| 101 const std::string& session_id); | 102 const std::string& session_id); |
| 102 void OnKeyError(int player_id, | 103 void OnKeyError(int player_id, |
| 103 const std::string& key_system, | 104 const std::string& key_system, |
| 104 const std::string& session_id, | 105 const std::string& session_id, |
| 105 media::MediaKeys::KeyError error_code, | 106 media::MediaKeys::KeyError error_code, |
| 106 int system_code); | 107 int system_code); |
| 107 void OnKeyMessage(int player_id, | 108 void OnKeyMessage(int player_id, |
| 108 const std::string& key_system, | 109 const std::string& key_system, |
| 109 const std::string& session_id, | 110 const std::string& session_id, |
| 110 const std::string& message, | 111 const std::string& message, |
| 111 const std::string& destination_url); | 112 const std::string& destination_url); |
| 112 | 113 |
| 113 webkit_media::WebMediaPlayerManagerAndroid* manager_; | 114 webkit_media::WebMediaPlayerManagerAndroid* manager_; |
| 114 | 115 |
| 115 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerProxyImplAndroid); | 116 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerProxyImplAndroid); |
| 116 }; | 117 }; |
| 117 | 118 |
| 118 } // namespace content | 119 } // namespace content |
| 119 | 120 |
| 120 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_PROXY_IMPL_ANDROID_H_ | 121 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_PROXY_IMPL_ANDROID_H_ |
| OLD | NEW |