| 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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 | 200 |
| 201 // The availability of remote devices has changed | 201 // The availability of remote devices has changed |
| 202 IPC_MESSAGE_ROUTED2(MediaPlayerMsg_RemoteRouteAvailabilityChanged, | 202 IPC_MESSAGE_ROUTED2(MediaPlayerMsg_RemoteRouteAvailabilityChanged, |
| 203 int /* player_id */, | 203 int /* player_id */, |
| 204 bool /* routes_available */) | 204 bool /* routes_available */) |
| 205 | 205 |
| 206 // Instructs the video element to enter fullscreen. | 206 // Instructs the video element to enter fullscreen. |
| 207 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_RequestFullscreen, | 207 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_RequestFullscreen, |
| 208 int /*player_id */) | 208 int /*player_id */) |
| 209 | 209 |
| 210 // Pauses all video playback. | |
| 211 IPC_MESSAGE_ROUTED0(MediaPlayerMsg_PauseVideo) | |
| 212 | |
| 213 // Messages for controlling the media playback in browser process ---------- | 210 // Messages for controlling the media playback in browser process ---------- |
| 214 | 211 |
| 215 // Destroy the media player object. | 212 // Destroy the media player object. |
| 216 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_DestroyMediaPlayer, | 213 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_DestroyMediaPlayer, |
| 217 int /* player_id */) | 214 int /* player_id */) |
| 218 | 215 |
| 219 // Initialize a media player object. | 216 // Initialize a media player object. |
| 220 IPC_MESSAGE_ROUTED1( | 217 IPC_MESSAGE_ROUTED1( |
| 221 MediaPlayerHostMsg_Initialize, | 218 MediaPlayerHostMsg_Initialize, |
| 222 MediaPlayerHostMsg_Initialize_Params); | 219 MediaPlayerHostMsg_Initialize_Params); |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 | 285 |
| 289 #if defined(VIDEO_HOLE) | 286 #if defined(VIDEO_HOLE) |
| 290 // Notify the player about the external surface, requesting it if necessary. | 287 // Notify the player about the external surface, requesting it if necessary. |
| 291 // |is_request| true if the player is requesting the external surface. | 288 // |is_request| true if the player is requesting the external surface. |
| 292 // |rect| the boundary rectangle of the video element. | 289 // |rect| the boundary rectangle of the video element. |
| 293 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface, | 290 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface, |
| 294 int /* player_id */, | 291 int /* player_id */, |
| 295 bool /* is_request */, | 292 bool /* is_request */, |
| 296 gfx::RectF /* rect */) | 293 gfx::RectF /* rect */) |
| 297 #endif // defined(VIDEO_HOLE) | 294 #endif // defined(VIDEO_HOLE) |
| OLD | NEW |