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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/time.h" | 10 #include "base/time.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 // The current play time has updated. | 50 // The current play time has updated. |
51 IPC_MESSAGE_ROUTED2(MediaPlayerMsg_MediaTimeUpdate, | 51 IPC_MESSAGE_ROUTED2(MediaPlayerMsg_MediaTimeUpdate, |
52 int /* player_id */, | 52 int /* player_id */, |
53 base::TimeDelta /* current_time */) | 53 base::TimeDelta /* current_time */) |
54 | 54 |
55 // The player has been released. | 55 // The player has been released. |
56 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_MediaPlayerReleased, | 56 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_MediaPlayerReleased, |
57 int /* player_id */) | 57 int /* player_id */) |
58 | 58 |
59 // The player has entered fullscreen mode. | 59 // The player has entered fullscreen mode. |
60 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_DidEnterFullscreen, | 60 IPC_MESSAGE_ROUTED2(MediaPlayerMsg_DidEnterVideoView, |
61 int /* player_id */) | 61 int /* player_id */, |
| 62 int /* personality */) |
62 | 63 |
63 // The player exited fullscreen. | 64 // The player exited fullscreen. |
64 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_DidExitFullscreen, | 65 IPC_MESSAGE_ROUTED2(MediaPlayerMsg_DidExitVideoView, |
65 int /* player_id */) | 66 int /* player_id */, |
| 67 int /* personality */) |
66 | 68 |
67 // The player started playing. | 69 // The player started playing. |
68 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_DidMediaPlayerPlay, | 70 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_DidMediaPlayerPlay, |
69 int /* player_id */) | 71 int /* player_id */) |
70 | 72 |
71 // The player was paused. | 73 // The player was paused. |
72 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_DidMediaPlayerPause, | 74 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_DidMediaPlayerPause, |
73 int /* player_id */) | 75 int /* player_id */) |
74 | 76 |
75 // Messages for controllering the media playback in browser process ---------- | 77 // Messages for controllering the media playback in browser process ---------- |
(...skipping 28 matching lines...) Expand all Loading... |
104 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_MediaPlayerStart, | 106 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_MediaPlayerStart, |
105 int /* player_id */) | 107 int /* player_id */) |
106 | 108 |
107 // Request the player to enter fullscreen. | 109 // Request the player to enter fullscreen. |
108 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_EnterFullscreen, | 110 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_EnterFullscreen, |
109 int /* player_id */) | 111 int /* player_id */) |
110 | 112 |
111 // Request the player to exit fullscreen. | 113 // Request the player to exit fullscreen. |
112 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_ExitFullscreen, | 114 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_ExitFullscreen, |
113 int /* player_id */) | 115 int /* player_id */) |
OLD | NEW |