Index: content/common/gpu/client_native_pixmap_factory_ozone_messages.h |
diff --git a/content/common/gpu/client_native_pixmap_factory_ozone_messages.h b/content/common/gpu/client_native_pixmap_factory_ozone_messages.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2ccbb8ce6bd85a65f2145087545b218e1bc1de53 |
--- /dev/null |
+++ b/content/common/gpu/client_native_pixmap_factory_ozone_messages.h |
@@ -0,0 +1,18 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CONTENT_COMMON_COMMON_GPU_CLIENT_NATIVE_PIXMAP_FACTORY_OZONE_MESSAGES_H_ |
+#define CONTENT_COMMON_COMMON_GPU_CLIENT_NATIVE_PIXMAP_FACTORY_OZONE_MESSAGES_H_ |
+ |
+#include "base/file_descriptor_posix.h" |
+#include "ipc/ipc_message_macros.h" |
+ |
+#define IPC_MESSAGE_START ChildClientNativePixmapFactoryMsgStart |
+ |
+// Messages sent to ChildClientNativePixmapFactory. |
+// Send a virtual device fd to a child process. |
+IPC_MESSAGE_CONTROL1(ChildClientNativePixmapFactoryMsg_SetVirtualDevice, |
+ base::FileDescriptor /* device_fd */) |
+ |
+#endif // CONTENT_COMMON_COMMON_GPU_CLIENT_NATIVE_PIXMAP_FACTORY_OZONE_MESSAGES_H_ |