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 // IPC messages for android media player. | 5 // IPC messages for android media player. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 // The player needs new config data | 186 // The player needs new config data |
187 IPC_MESSAGE_CONTROL1(MediaPlayerMsg_MediaConfigRequest, | 187 IPC_MESSAGE_CONTROL1(MediaPlayerMsg_MediaConfigRequest, |
188 int /* demuxer_client_id */) | 188 int /* demuxer_client_id */) |
189 | 189 |
190 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_ConnectedToRemoteDevice, | 190 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_ConnectedToRemoteDevice, |
191 int /* player_id */) | 191 int /* player_id */) |
192 | 192 |
193 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_DisconnectedFromRemoteDevice, | 193 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_DisconnectedFromRemoteDevice, |
194 int /* player_id */) | 194 int /* player_id */) |
195 | 195 |
| 196 // Instructs the video element to enter fullscreen. |
| 197 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_RequestFullscreen, |
| 198 int /*player_id */) |
| 199 |
196 // Messages for controlling the media playback in browser process ---------- | 200 // Messages for controlling the media playback in browser process ---------- |
197 | 201 |
198 // Destroy the media player object. | 202 // Destroy the media player object. |
199 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_DestroyMediaPlayer, | 203 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_DestroyMediaPlayer, |
200 int /* player_id */) | 204 int /* player_id */) |
201 | 205 |
202 // Destroy all the players. | 206 // Destroy all the players. |
203 IPC_MESSAGE_ROUTED0(MediaPlayerHostMsg_DestroyAllMediaPlayers) | 207 IPC_MESSAGE_ROUTED0(MediaPlayerHostMsg_DestroyAllMediaPlayers) |
204 | 208 |
205 // Initialize a media player object with the given type and player_id. The other | 209 // Initialize a media player object with the given type and player_id. The other |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 int /* media_keys_id */, | 310 int /* media_keys_id */, |
307 std::string /* session_id */, | 311 std::string /* session_id */, |
308 media::MediaKeys::KeyError /* error_code */, | 312 media::MediaKeys::KeyError /* error_code */, |
309 int /* system_code */) | 313 int /* system_code */) |
310 | 314 |
311 IPC_MESSAGE_ROUTED4(MediaKeysMsg_KeyMessage, | 315 IPC_MESSAGE_ROUTED4(MediaKeysMsg_KeyMessage, |
312 int /* media_keys_id */, | 316 int /* media_keys_id */, |
313 std::string /* session_id */, | 317 std::string /* session_id */, |
314 std::vector<uint8> /* message */, | 318 std::vector<uint8> /* message */, |
315 std::string /* destination_url */) | 319 std::string /* destination_url */) |
OLD | NEW |