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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 int /* player_id */, | 146 int /* player_id */, |
147 base::TimeDelta /* current_time */) | 147 base::TimeDelta /* current_time */) |
148 | 148 |
149 // Video size has changed. | 149 // Video size has changed. |
150 IPC_MESSAGE_ROUTED3(MediaPlayerMsg_MediaVideoSizeChanged, | 150 IPC_MESSAGE_ROUTED3(MediaPlayerMsg_MediaVideoSizeChanged, |
151 int /* player_id */, | 151 int /* player_id */, |
152 int /* width */, | 152 int /* width */, |
153 int /* height */) | 153 int /* height */) |
154 | 154 |
155 // The current play time has updated. | 155 // The current play time has updated. |
156 IPC_MESSAGE_ROUTED2(MediaPlayerMsg_MediaTimeUpdate, | 156 IPC_MESSAGE_ROUTED3(MediaPlayerMsg_MediaTimeUpdate, |
157 int /* player_id */, | 157 int /* player_id */, |
158 base::TimeDelta /* current_time */) | 158 base::TimeDelta /* current_timestamp */, |
| 159 base::TimeTicks /* current_time_ticks */) |
159 | 160 |
160 // The player has been released. | 161 // The player has been released. |
161 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_MediaPlayerReleased, | 162 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_MediaPlayerReleased, |
162 int /* player_id */) | 163 int /* player_id */) |
163 | 164 |
164 // The player has entered fullscreen mode. | 165 // The player has entered fullscreen mode. |
165 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_DidEnterFullscreen, | 166 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_DidEnterFullscreen, |
166 int /* player_id */) | 167 int /* player_id */) |
167 | 168 |
168 // The player exited fullscreen. | 169 // The player exited fullscreen. |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 | 275 |
275 #if defined(VIDEO_HOLE) | 276 #if defined(VIDEO_HOLE) |
276 // Notify the player about the external surface, requesting it if necessary. | 277 // Notify the player about the external surface, requesting it if necessary. |
277 // |is_request| true if the player is requesting the external surface. | 278 // |is_request| true if the player is requesting the external surface. |
278 // |rect| the boundary rectangle of the video element. | 279 // |rect| the boundary rectangle of the video element. |
279 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface, | 280 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_NotifyExternalSurface, |
280 int /* player_id */, | 281 int /* player_id */, |
281 bool /* is_request */, | 282 bool /* is_request */, |
282 gfx::RectF /* rect */) | 283 gfx::RectF /* rect */) |
283 #endif // defined(VIDEO_HOLE) | 284 #endif // defined(VIDEO_HOLE) |
OLD | NEW |