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 // Common IPC messages used for render processes. | 5 // Common IPC messages used for render processes. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 IPC_MESSAGE_CONTROL1(RenderProcessHostMsg_SuddenTerminationChanged, | 70 IPC_MESSAGE_CONTROL1(RenderProcessHostMsg_SuddenTerminationChanged, |
71 bool /* enabled */) | 71 bool /* enabled */) |
72 | 72 |
73 #if defined(OS_MACOSX) | 73 #if defined(OS_MACOSX) |
74 // Request that the browser load a font into shared memory for us. | 74 // Request that the browser load a font into shared memory for us. |
75 IPC_SYNC_MESSAGE_CONTROL1_3(RenderProcessHostMsg_LoadFont, | 75 IPC_SYNC_MESSAGE_CONTROL1_3(RenderProcessHostMsg_LoadFont, |
76 FontDescriptor /* font to load */, | 76 FontDescriptor /* font to load */, |
77 uint32_t /* buffer size */, | 77 uint32_t /* buffer size */, |
78 base::SharedMemoryHandle /* font data */, | 78 base::SharedMemoryHandle /* font data */, |
79 uint32_t /* font id */) | 79 uint32_t /* font id */) |
80 #elif defined(OS_WIN) | |
81 // Request that the given font characters be loaded by the browser so it's | |
82 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | |
83 // for details. | |
84 IPC_SYNC_MESSAGE_CONTROL2_0(RenderProcessHostMsg_PreCacheFontCharacters, | |
85 LOGFONT /* font_data */, | |
86 base::string16 /* characters */) | |
87 #endif | 80 #endif |
OLD | NEW |