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

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

Issue 13688004: Location/size change notification when external rendering is enabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase & added a missing ifdef guard Created 7 years, 8 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 <string> 8 #include <string>
9 9
10 #include "base/time.h" 10 #include "base/time.h"
11 #include "content/common/content_export.h" 11 #include "content/common/content_export.h"
12 #include "googleurl/src/gurl.h" 12 #include "googleurl/src/gurl.h"
13 #include "ipc/ipc_message_macros.h" 13 #include "ipc/ipc_message_macros.h"
14 #include "ui/gfx/rect_f.h"
14 15
15 #undef IPC_MESSAGE_EXPORT 16 #undef IPC_MESSAGE_EXPORT
16 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 17 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
17 #define IPC_MESSAGE_START MediaPlayerMsgStart 18 #define IPC_MESSAGE_START MediaPlayerMsgStart
18 19
19 // Messages for notifying the render process of media playback status ------- 20 // Messages for notifying the render process of media playback status -------
20 21
21 // Media buffering has updated. 22 // Media buffering has updated.
22 IPC_MESSAGE_ROUTED2(MediaPlayerMsg_MediaBufferingUpdate, 23 IPC_MESSAGE_ROUTED2(MediaPlayerMsg_MediaBufferingUpdate,
23 int /* player_id */, 24 int /* player_id */,
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 int /* player_id */) 110 int /* player_id */)
110 111
111 // Request the player to enter fullscreen. 112 // Request the player to enter fullscreen.
112 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_EnterFullscreen, 113 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_EnterFullscreen,
113 int /* player_id */) 114 int /* player_id */)
114 115
115 // Request the player to exit fullscreen. 116 // Request the player to exit fullscreen.
116 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_ExitFullscreen, 117 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_ExitFullscreen,
117 int /* player_id */) 118 int /* player_id */)
118 119
120 #if defined(GOOGLE_TV)
119 // Request the player to use external surface for rendering. 121 // Request the player to use external surface for rendering.
120 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_RequestExternalSurface, 122 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_RequestExternalSurface,
121 int /* player_id */) 123 int /* player_id */)
124
125 // Request the player to use external surface for rendering.
126 IPC_MESSAGE_ROUTED2(MediaPlayerHostMsg_NotifyGeometryChange,
127 int /* player_id */,
128 gfx::RectF /* rect */)
129 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698