Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1775)

Unified Diff: content/common/media/video_capture_messages.h

Issue 2409893003: VideoCapture: more migration IPC-->mojo, part 5 (Closed)
Patch Set: rebase content/common/BUILD.gn Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/video_capture.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/media/video_capture_messages.h
diff --git a/content/common/media/video_capture_messages.h b/content/common/media/video_capture_messages.h
index bc46b9ab5cc1cb80f6c89b02cae459694aaa7165..3a148c87df92d3ed60139b3edb99d4974550db64 100644
--- a/content/common/media/video_capture_messages.h
+++ b/content/common/media/video_capture_messages.h
@@ -4,30 +4,13 @@
#include "base/memory/shared_memory.h"
#include "content/common/content_export.h"
-#include "content/common/media/video_capture.h"
#include "content/public/common/common_param_traits.h"
#include "ipc/ipc_message_macros.h"
-#include "media/base/video_capture_types.h"
-#include "media/base/video_frame.h"
#undef IPC_MESSAGE_EXPORT
#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
#define IPC_MESSAGE_START VideoCaptureMsgStart
-IPC_ENUM_TRAITS_MAX_VALUE(media::VideoFrame::StorageType,
- media::VideoFrame::STORAGE_LAST)
-
-IPC_STRUCT_BEGIN(VideoCaptureMsg_BufferReady_Params)
- IPC_STRUCT_MEMBER(int, device_id)
- IPC_STRUCT_MEMBER(int, buffer_id)
- IPC_STRUCT_MEMBER(base::TimeDelta, timestamp)
- IPC_STRUCT_MEMBER(base::DictionaryValue, metadata)
- IPC_STRUCT_MEMBER(media::VideoPixelFormat, pixel_format)
- IPC_STRUCT_MEMBER(media::VideoFrame::StorageType, storage_type)
- IPC_STRUCT_MEMBER(gfx::Size, coded_size)
- IPC_STRUCT_MEMBER(gfx::Rect, visible_rect)
-IPC_STRUCT_END()
-
// TODO(nick): device_id in these messages is basically just a route_id. We
// should shift to IPC_MESSAGE_ROUTED and use MessageRouter in the filter impls.
@@ -37,14 +20,3 @@ IPC_MESSAGE_CONTROL4(VideoCaptureMsg_NewBuffer,
base::SharedMemoryHandle /* handle */,
int /* length */,
int /* buffer_id */)
-
-// Tell the renderer process that it should release a buffer previously
-// allocated by VideoCaptureMsg_NewBuffer.
-IPC_MESSAGE_CONTROL2(VideoCaptureMsg_FreeBuffer,
- int /* device id */,
- int /* buffer_id */)
-
-// Tell the renderer process that a Buffer is available from video capture, and
-// send the associated VideoFrame constituent parts as IPC parameters.
-IPC_MESSAGE_CONTROL1(VideoCaptureMsg_BufferReady,
- VideoCaptureMsg_BufferReady_Params)
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/video_capture.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698