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

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: Put notification hook under ifdef's to minimize performance implication on other platforms 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 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_EnterFullscreen, 110 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_EnterFullscreen,
110 int /* player_id */) 111 int /* player_id */)
111 112
112 // Request the player to exit fullscreen. 113 // Request the player to exit fullscreen.
113 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_ExitFullscreen, 114 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_ExitFullscreen,
114 int /* player_id */) 115 int /* player_id */)
115 116
116 // Request the player to use external surface for rendering. 117 // Request the player to use external surface for rendering.
117 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_RequestExternalSurface, 118 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_RequestExternalSurface,
118 int /* player_id */) 119 int /* player_id */)
120
121 // Request the player to use external surface for rendering.
122 IPC_MESSAGE_ROUTED2(MediaPlayerHostMsg_NotifyGeometryChange,
123 int /* player_id */,
124 gfx::RectF /* rect */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698