OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef CONTENT_COMMON_MAC_IO_SURFACE_MANAGER_MESSAGES_H_ | 5 #ifndef CONTENT_COMMON_MAC_IO_SURFACE_MANAGER_MESSAGES_H_ |
6 #define CONTENT_COMMON_MAC_IO_SURFACE_MANAGER_MESSAGES_H_ | 6 #define CONTENT_COMMON_MAC_IO_SURFACE_MANAGER_MESSAGES_H_ |
7 | 7 |
8 #include <mach/message.h> | 8 #include <mach/message.h> |
9 | 9 |
10 #include "content/common/mac/io_surface_manager_token.h" | 10 #include "content/common/mac/io_surface_manager_token.h" |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 struct IOSurfaceManagerMsg_RegisterIOSurfaceReply { | 52 struct IOSurfaceManagerMsg_RegisterIOSurfaceReply { |
53 mach_msg_header_t header; | 53 mach_msg_header_t header; |
54 mach_msg_body_t body; | 54 mach_msg_body_t body; |
55 boolean_t result; | 55 boolean_t result; |
56 }; | 56 }; |
57 | 57 |
58 struct IOSurfaceManagerMsg_AcquireIOSurfaceReply { | 58 struct IOSurfaceManagerMsg_AcquireIOSurfaceReply { |
59 mach_msg_header_t header; | 59 mach_msg_header_t header; |
60 mach_msg_body_t body; | 60 mach_msg_body_t body; |
61 mach_msg_port_descriptor_t io_surface_port; | 61 mach_msg_port_descriptor_t io_surface_port; |
| 62 boolean_t result; |
62 }; | 63 }; |
63 | 64 |
64 } // namespace content | 65 } // namespace content |
65 | 66 |
66 #endif // CONTENT_COMMON_MAC_IO_SURFACE_MANAGER_MESSAGES_H_ | 67 #endif // CONTENT_COMMON_MAC_IO_SURFACE_MANAGER_MESSAGES_H_ |
OLD | NEW |