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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/time/time.h" | 9 #include "base/time/time.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 std::string /* remote_playback_message */) | 182 std::string /* remote_playback_message */) |
183 | 183 |
184 // Clank has disconnected from the remote device. | 184 // Clank has disconnected from the remote device. |
185 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_DisconnectedFromRemoteDevice, | 185 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_DisconnectedFromRemoteDevice, |
186 int /* player_id */) | 186 int /* player_id */) |
187 | 187 |
188 // Instructs the video element to enter fullscreen. | 188 // Instructs the video element to enter fullscreen. |
189 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_RequestFullscreen, | 189 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_RequestFullscreen, |
190 int /*player_id */) | 190 int /*player_id */) |
191 | 191 |
| 192 // Pauses all video playback. |
| 193 IPC_MESSAGE_ROUTED0(MediaPlayerMsg_PauseVideo) |
| 194 |
192 // Messages for controlling the media playback in browser process ---------- | 195 // Messages for controlling the media playback in browser process ---------- |
193 | 196 |
194 // Destroy the media player object. | 197 // Destroy the media player object. |
195 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_DestroyMediaPlayer, | 198 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_DestroyMediaPlayer, |
196 int /* player_id */) | 199 int /* player_id */) |
197 | 200 |
198 // Destroy all the players. | 201 // Destroy all the players. |
199 IPC_MESSAGE_ROUTED0(MediaPlayerHostMsg_DestroyAllMediaPlayers) | 202 IPC_MESSAGE_ROUTED0(MediaPlayerHostMsg_DestroyAllMediaPlayers) |
200 | 203 |
201 // Initialize a media player object with the given type and player_id. The other | 204 // Initialize a media player object with the given type and player_id. The other |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 | 277 |
275 #if defined(VIDEO_HOLE) | 278 #if defined(VIDEO_HOLE) |
276 // Notify the player about the external surface, requesting it if necessary. | 279 // Notify the player about the external surface, requesting it if necessary. |
277 // |is_request| true if the player is requesting the external surface. | 280 // |is_request| true if the player is requesting the external surface. |
278 // |rect| the boundary rectangle of the video element. | 281 // |rect| the boundary rectangle of the video element. |
279 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface, | 282 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface, |
280 int /* player_id */, | 283 int /* player_id */, |
281 bool /* is_request */, | 284 bool /* is_request */, |
282 gfx::RectF /* rect */) | 285 gfx::RectF /* rect */) |
283 #endif // defined(VIDEO_HOLE) | 286 #endif // defined(VIDEO_HOLE) |
OLD | NEW |