| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ | 6 #define CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 void OnMediaError(int player_id, int error); | 112 void OnMediaError(int player_id, int error); |
| 113 void OnVideoSizeChanged(int player_id, int width, int height); | 113 void OnVideoSizeChanged(int player_id, int width, int height); |
| 114 void OnTimeUpdate(int player_id, base::TimeDelta current_time); | 114 void OnTimeUpdate(int player_id, base::TimeDelta current_time); |
| 115 void OnMediaPlayerReleased(int player_id); | 115 void OnMediaPlayerReleased(int player_id); |
| 116 void OnConnectedToRemoteDevice(int player_id); | 116 void OnConnectedToRemoteDevice(int player_id); |
| 117 void OnDisconnectedFromRemoteDevice(int player_id); | 117 void OnDisconnectedFromRemoteDevice(int player_id); |
| 118 void OnDidExitFullscreen(int player_id); | 118 void OnDidExitFullscreen(int player_id); |
| 119 void OnDidEnterFullscreen(int player_id); | 119 void OnDidEnterFullscreen(int player_id); |
| 120 void OnPlayerPlay(int player_id); | 120 void OnPlayerPlay(int player_id); |
| 121 void OnPlayerPause(int player_id); | 121 void OnPlayerPause(int player_id); |
| 122 void OnRequestFullscreen(int player_id); |
| 122 void OnKeyAdded(int media_keys_id, const std::string& session_id); | 123 void OnKeyAdded(int media_keys_id, const std::string& session_id); |
| 123 void OnKeyError(int media_keys_id, | 124 void OnKeyError(int media_keys_id, |
| 124 const std::string& session_id, | 125 const std::string& session_id, |
| 125 media::MediaKeys::KeyError error_code, | 126 media::MediaKeys::KeyError error_code, |
| 126 int system_code); | 127 int system_code); |
| 127 void OnKeyMessage(int media_keys_id, | 128 void OnKeyMessage(int media_keys_id, |
| 128 const std::string& session_id, | 129 const std::string& session_id, |
| 129 const std::vector<uint8>& message, | 130 const std::vector<uint8>& message, |
| 130 const std::string& destination_url); | 131 const std::string& destination_url); |
| 131 | 132 |
| 132 RendererMediaPlayerManager* manager_; | 133 RendererMediaPlayerManager* manager_; |
| 133 | 134 |
| 134 DISALLOW_IMPLICIT_CONSTRUCTORS(WebMediaPlayerProxyAndroid); | 135 DISALLOW_IMPLICIT_CONSTRUCTORS(WebMediaPlayerProxyAndroid); |
| 135 }; | 136 }; |
| 136 | 137 |
| 137 } // namespace content | 138 } // namespace content |
| 138 | 139 |
| 139 #endif // CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ | 140 #endif // CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ |
| OLD | NEW |