1 // Copyright 2016 Samsung Electronics Inc. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // IPC messages for efl media capture.
6 // Multiply-included message file, hence no include guard.
8 #include "base/memory/shared_memory.h"
9 #include "content/common/content_export.h"
10 #include "ipc/ipc_message_macros.h"
11 #include "ui/gfx/geometry/size.h"
13 #undef IPC_MESSAGE_EXPORT
14 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
15 #define IPC_MESSAGE_START MediaCaptureMsgStart
17 // Media record start.
18 IPC_MESSAGE_ROUTED2(MediaCaptureHostMsg_StartRecording,
20 std::string /* format*/)
22 // Media record pause.
23 IPC_MESSAGE_ROUTED1(MediaCaptureHostMsg_PauseRecording, int /* handler id */)
25 // Media record resume.
26 IPC_MESSAGE_ROUTED1(MediaCaptureHostMsg_ResumeRecording, int /* handler id */)
29 IPC_MESSAGE_ROUTED1(MediaCaptureHostMsg_StopRecording, int /* handler id */)
31 IPC_MESSAGE_ROUTED3(MediaCaptureMsg_MediaCaptureMuxedStream,
33 base::SharedMemoryHandle /*foreign_memory_handle*/,