| 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/time/time.h" | 8 #include "base/time/time.h" |
| 9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
| 10 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 | 113 |
| 114 // Clank has connected to the remote device. | 114 // Clank has connected to the remote device. |
| 115 IPC_MESSAGE_ROUTED2(MediaPlayerMsg_ConnectedToRemoteDevice, | 115 IPC_MESSAGE_ROUTED2(MediaPlayerMsg_ConnectedToRemoteDevice, |
| 116 int /* player_id */, | 116 int /* player_id */, |
| 117 std::string /* remote_playback_message */) | 117 std::string /* remote_playback_message */) |
| 118 | 118 |
| 119 // Clank has disconnected from the remote device. | 119 // Clank has disconnected from the remote device. |
| 120 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_DisconnectedFromRemoteDevice, | 120 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_DisconnectedFromRemoteDevice, |
| 121 int /* player_id */) | 121 int /* player_id */) |
| 122 | 122 |
| 123 // The remote playback has started. |
| 124 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_RemotePlaybackStarted, |
| 125 int /* player_id */) |
| 126 |
| 123 // The remote playback device selection has been cancelled. | 127 // The remote playback device selection has been cancelled. |
| 124 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_CancelledRemotePlaybackRequest, | 128 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_CancelledRemotePlaybackRequest, |
| 125 int /* player_id */) | 129 int /* player_id */) |
| 126 | 130 |
| 127 // The availability of remote devices has changed | 131 // The availability of remote devices has changed |
| 128 IPC_MESSAGE_ROUTED2(MediaPlayerMsg_RemoteRouteAvailabilityChanged, | 132 IPC_MESSAGE_ROUTED2(MediaPlayerMsg_RemoteRouteAvailabilityChanged, |
| 129 int /* player_id */, | 133 int /* player_id */, |
| 130 bool /* routes_available */) | 134 bool /* routes_available */) |
| 131 | 135 |
| 132 // Messages for controlling the media playback in browser process ---------- | 136 // Messages for controlling the media playback in browser process ---------- |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_RequestRemotePlayback, | 177 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_RequestRemotePlayback, |
| 174 int /* player_id */) | 178 int /* player_id */) |
| 175 | 179 |
| 176 // Control media playing on a remote device. | 180 // Control media playing on a remote device. |
| 177 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_RequestRemotePlaybackControl, | 181 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_RequestRemotePlaybackControl, |
| 178 int /* player_id */) | 182 int /* player_id */) |
| 179 | 183 |
| 180 // Stop playing media on a remote device. | 184 // Stop playing media on a remote device. |
| 181 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_RequestRemotePlaybackStop, | 185 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_RequestRemotePlaybackStop, |
| 182 int /* player_id */) | 186 int /* player_id */) |
| OLD | NEW |