Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Side by Side Diff: content/common/media/media_player_messages_android.h

Issue 570183002: Make the pause of video playback and video capture consistent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: also make video playback consistent Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 std::string /* remote_playback_message */) 195 std::string /* remote_playback_message */)
196 196
197 // Clank has disconnected from the remote device. 197 // Clank has disconnected from the remote device.
198 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_DisconnectedFromRemoteDevice, 198 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_DisconnectedFromRemoteDevice,
199 int /* player_id */) 199 int /* player_id */)
200 200
201 // Instructs the video element to enter fullscreen. 201 // Instructs the video element to enter fullscreen.
202 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_RequestFullscreen, 202 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_RequestFullscreen,
203 int /*player_id */) 203 int /*player_id */)
204 204
205 // Pauses all video playback.
206 IPC_MESSAGE_ROUTED0(MediaPlayerMsg_PauseVideo)
207
208 // Messages for controlling the media playback in browser process ---------- 205 // Messages for controlling the media playback in browser process ----------
209 206
210 // Destroy the media player object. 207 // Destroy the media player object.
211 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_DestroyMediaPlayer, 208 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_DestroyMediaPlayer,
212 int /* player_id */) 209 int /* player_id */)
213 210
214 // Initialize a media player object. 211 // Initialize a media player object.
215 IPC_MESSAGE_ROUTED1( 212 IPC_MESSAGE_ROUTED1(
216 MediaPlayerHostMsg_Initialize, 213 MediaPlayerHostMsg_Initialize,
217 MediaPlayerHostMsg_Initialize_Params); 214 MediaPlayerHostMsg_Initialize_Params);
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 272
276 #if defined(VIDEO_HOLE) 273 #if defined(VIDEO_HOLE)
277 // Notify the player about the external surface, requesting it if necessary. 274 // Notify the player about the external surface, requesting it if necessary.
278 // |is_request| true if the player is requesting the external surface. 275 // |is_request| true if the player is requesting the external surface.
279 // |rect| the boundary rectangle of the video element. 276 // |rect| the boundary rectangle of the video element.
280 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface, 277 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface,
281 int /* player_id */, 278 int /* player_id */,
282 bool /* is_request */, 279 bool /* is_request */,
283 gfx::RectF /* rect */) 280 gfx::RectF /* rect */)
284 #endif // defined(VIDEO_HOLE) 281 #endif // defined(VIDEO_HOLE)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698