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

Unified Diff: content/common/child_process_messages.h

Issue 1248713002: ozone: ClientPixmapManager passes VGEM fd from browser to renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: follow IOSurface pattern. remove wrapper classes Created 5 years, 4 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
Index: content/common/child_process_messages.h
diff --git a/content/common/child_process_messages.h b/content/common/child_process_messages.h
index f10227f2b2a8da53b2cbe72b1b4947bfb08d19b1..0dfc74c06fe6345fc5e7624cbdf1670af5634040 100644
--- a/content/common/child_process_messages.h
+++ b/content/common/child_process_messages.h
@@ -22,6 +22,10 @@
#include "content/common/mac/io_surface_manager_token.h"
#endif
+#if defined(USE_OZONE)
+#include "base/file_descriptor_posix.h"
+#endif
+
IPC_ENUM_TRAITS_MAX_VALUE(tracked_objects::ThreadData::Status,
tracked_objects::ThreadData::STATUS_LAST)
@@ -125,6 +129,12 @@ IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIOSurfaceManagerToken,
content::IOSurfaceManagerToken /* token */)
#endif
+#if defined(USE_OZONE)
+// Sent VGEM file descriptor to child processes to use when importing
+// ClientNativePixmap.
+IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetVgemFD,
+ base::FileDescriptor /* vgem_fd */)
+#endif
////////////////////////////////////////////////////////////////////////////////
// Messages sent from the child process to the browser.

Powered by Google App Engine
This is Rietveld 408576698