OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 child processes. | 5 // Common IPC messages used for child processes. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
9 #include "googleurl/src/gurl.h" | 9 #include "googleurl/src/gurl.h" |
10 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
52 // Sent if the trace buffer becomes full. | 52 // Sent if the trace buffer becomes full. |
53 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_TraceBufferFull) | 53 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_TraceBufferFull) |
54 | 54 |
55 // Child processes send trace data back in JSON chunks. | 55 // Child processes send trace data back in JSON chunks. |
56 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TraceDataCollected, | 56 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TraceDataCollected, |
57 std::string /*json trace data*/) | 57 std::string /*json trace data*/) |
58 | 58 |
59 // Reply to ChildProcessMsg_GetTraceBufferPercentFull. | 59 // Reply to ChildProcessMsg_GetTraceBufferPercentFull. |
60 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TraceBufferPercentFullReply, | 60 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TraceBufferPercentFullReply, |
61 float /*trace buffer percent full*/) | 61 float /*trace buffer percent full*/) |
62 | |
63 #if defined(OS_WIN) | |
64 // Request that the given font be loaded by the host so it's cached by the | |
65 // OS. Please see ChildProcessHost::PreCacheFont for details. | |
66 IPC_SYNC_MESSAGE_CONTROL1_0(ChromeUtilityHostMsg_PreCacheFont, | |
jam
2011/09/19 16:31:17
messages in this file start with ChildProcessMsg o
arthurhsu
2011/09/19 18:22:51
Done.
| |
67 LOGFONT /* font data */) | |
68 IPC_SYNC_MESSAGE_CONTROL1_0(ViewHostMsg_PreCacheFont, | |
69 LOGFONT /* font data */) | |
70 | |
71 // Release the cached font | |
72 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_ReleaseCachedFonts) | |
73 IPC_MESSAGE_CONTROL0(ViewHostMsg_ReleaseCachedFonts) | |
74 #endif // defined(OS_WIN) | |
OLD | NEW |