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 #include "base/shared_memory.h" | 5 #include "base/memory/shared_memory.h" |
6 #include "content/common/content_export.h" | 6 #include "content/common/content_export.h" |
7 #include "content/common/media/video_capture.h" | 7 #include "content/common/media/video_capture.h" |
8 #include "content/public/common/common_param_traits.h" | 8 #include "content/public/common/common_param_traits.h" |
9 #include "ipc/ipc_message_macros.h" | 9 #include "ipc/ipc_message_macros.h" |
10 #include "media/video/capture/video_capture_types.h" | 10 #include "media/video/capture/video_capture_types.h" |
11 | 11 |
12 #undef IPC_MESSAGE_EXPORT | 12 #undef IPC_MESSAGE_EXPORT |
13 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 13 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
14 #define IPC_MESSAGE_START VideoCaptureMsgStart | 14 #define IPC_MESSAGE_START VideoCaptureMsgStart |
15 | 15 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 | 56 |
57 // Close the video capture specified by |device_id|. | 57 // Close the video capture specified by |device_id|. |
58 IPC_MESSAGE_CONTROL1(VideoCaptureHostMsg_Stop, | 58 IPC_MESSAGE_CONTROL1(VideoCaptureHostMsg_Stop, |
59 int /* device_id */) | 59 int /* device_id */) |
60 | 60 |
61 // Tell the browser process that the video frame buffer |handle| is ready for | 61 // Tell the browser process that the video frame buffer |handle| is ready for |
62 // device |device_id| to fill up. | 62 // device |device_id| to fill up. |
63 IPC_MESSAGE_CONTROL2(VideoCaptureHostMsg_BufferReady, | 63 IPC_MESSAGE_CONTROL2(VideoCaptureHostMsg_BufferReady, |
64 int /* device_id */, | 64 int /* device_id */, |
65 int /* buffer_id */) | 65 int /* buffer_id */) |
OLD | NEW |