| 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_RENDER_PROCESS_MESSAGES_H_ |
| 6 #define CONTENT_COMMON_RENDER_PROCESS_MESSAGES_H_ |
| 7 |
| 5 // Common IPC messages used for render processes. | 8 // Common IPC messages used for render processes. |
| 6 // Multiply-included message file, hence no include guard. | 9 // Multiply-included message file, hence no include guard. |
| 7 | 10 |
| 8 #include <stdint.h> | 11 #include <stdint.h> |
| 9 | 12 |
| 10 #include <string> | 13 #include <string> |
| 11 | 14 |
| 12 #include "base/memory/shared_memory.h" | 15 #include "base/memory/shared_memory.h" |
| 13 #include "build/build_config.h" | 16 #include "build/build_config.h" |
| 14 #include "ipc/ipc_message_macros.h" | 17 #include "ipc/ipc_message_macros.h" |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 bool /* enabled */) | 64 bool /* enabled */) |
| 62 | 65 |
| 63 #if defined(OS_MACOSX) | 66 #if defined(OS_MACOSX) |
| 64 // Request that the browser load a font into shared memory for us. | 67 // Request that the browser load a font into shared memory for us. |
| 65 IPC_SYNC_MESSAGE_CONTROL1_3(RenderProcessHostMsg_LoadFont, | 68 IPC_SYNC_MESSAGE_CONTROL1_3(RenderProcessHostMsg_LoadFont, |
| 66 FontDescriptor /* font to load */, | 69 FontDescriptor /* font to load */, |
| 67 uint32_t /* buffer size */, | 70 uint32_t /* buffer size */, |
| 68 base::SharedMemoryHandle /* font data */, | 71 base::SharedMemoryHandle /* font data */, |
| 69 uint32_t /* font id */) | 72 uint32_t /* font id */) |
| 70 #endif | 73 #endif |
| 74 |
| 75 #endif // CONTENT_COMMON_RENDER_PROCESS_MESSAGES_H_ |
| OLD | NEW |