1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Copyright (c) 2013 Intel Corporation. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
6 // IPC messages for tizen media player.
7 // Multiply-included message file, hence no include guard.
11 #include "content/common/content_export.h"
12 #include "ipc/ipc_message_macros.h"
15 #undef IPC_MESSAGE_EXPORT
16 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
17 #define IPC_MESSAGE_START MediaPlayerMsgStart
19 // Messages for notifying the render process of media playback status -------
21 // Start the player for playback.
22 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_MediaPlayerPlay, // NOLINT(*)
26 IPC_MESSAGE_ROUTED1(MediaPlayerMsg_MediaPlayerPause, // NOLINT(*)
29 // Messages for controllering the media playback in browser process ----------
31 // Destroy the media player object.
32 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_DestroyMediaPlayer, // NOLINT(*)
35 // Initialize a media player object with the given player_id.
36 IPC_MESSAGE_ROUTED3(MediaPlayerHostMsg_MediaPlayerInitialize, // NOLINT(*)
41 // The player was paused.
42 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_MediaPlayerPaused, // NOLINT(*)
45 // The player started playing.
46 IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_MediaPlayerStarted, // NOLINT(*)