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