| 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_RENDERER_MEDIA_PLAYER_MANAGER_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_ANDROID_RENDERER_MEDIA_PLAYER_MANAGER_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_ANDROID_RENDERER_MEDIA_PLAYER_MANAGER_H_ | 6 #define CONTENT_RENDERER_MEDIA_ANDROID_RENDERER_MEDIA_PLAYER_MANAGER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 virtual void DidCommitCompositorFrame() OVERRIDE; | 87 virtual void DidCommitCompositorFrame() OVERRIDE; |
| 88 #endif // defined(VIDEO_HOLE) | 88 #endif // defined(VIDEO_HOLE) |
| 89 | 89 |
| 90 // Encrypted media related methods. | 90 // Encrypted media related methods. |
| 91 void InitializeCDM(int media_keys_id, | 91 void InitializeCDM(int media_keys_id, |
| 92 ProxyMediaKeys* media_keys, | 92 ProxyMediaKeys* media_keys, |
| 93 const std::vector<uint8>& uuid, | 93 const std::vector<uint8>& uuid, |
| 94 const GURL& frame_url); | 94 const GURL& frame_url); |
| 95 void CreateSession(int media_keys_id, | 95 void CreateSession(int media_keys_id, |
| 96 uint32 session_id, | 96 uint32 session_id, |
| 97 MediaKeysHostMsg_CreateSession_Type type, | 97 CdmHostMsg_CreateSession_Type type, |
| 98 const std::vector<uint8>& init_data); | 98 const std::vector<uint8>& init_data); |
| 99 void UpdateSession(int media_keys_id, | 99 void UpdateSession(int media_keys_id, |
| 100 uint32 session_id, | 100 uint32 session_id, |
| 101 const std::vector<uint8>& response); | 101 const std::vector<uint8>& response); |
| 102 void ReleaseSession(int media_keys_id, uint32 session_id); | 102 void ReleaseSession(int media_keys_id, uint32 session_id); |
| 103 void CancelAllPendingSessionCreations(int media_keys_id); | 103 void CancelAllPendingSessionCreations(int media_keys_id); |
| 104 | 104 |
| 105 // Registers and unregisters a WebMediaPlayerAndroid object. | 105 // Registers and unregisters a WebMediaPlayerAndroid object. |
| 106 int RegisterMediaPlayer(WebMediaPlayerAndroid* player); | 106 int RegisterMediaPlayer(WebMediaPlayerAndroid* player); |
| 107 void UnregisterMediaPlayer(int player_id); | 107 void UnregisterMediaPlayer(int player_id); |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 | 191 |
| 192 // WebFrame of pending fullscreen request. | 192 // WebFrame of pending fullscreen request. |
| 193 blink::WebFrame* pending_fullscreen_frame_; | 193 blink::WebFrame* pending_fullscreen_frame_; |
| 194 | 194 |
| 195 DISALLOW_COPY_AND_ASSIGN(RendererMediaPlayerManager); | 195 DISALLOW_COPY_AND_ASSIGN(RendererMediaPlayerManager); |
| 196 }; | 196 }; |
| 197 | 197 |
| 198 } // namespace content | 198 } // namespace content |
| 199 | 199 |
| 200 #endif // CONTENT_RENDERER_MEDIA_ANDROID_RENDERER_MEDIA_PLAYER_MANAGER_H_ | 200 #endif // CONTENT_RENDERER_MEDIA_ANDROID_RENDERER_MEDIA_PLAYER_MANAGER_H_ |
| OLD | NEW |