Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Side by Side Diff: content/common/child_process_messages.h

Issue 8229039: Make shared memory allocation possible for all child process types. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/common/child_process_host.cc ('k') | content/common/child_thread.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "base/shared_memory.h"
8 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
9 #include "googleurl/src/gurl.h" 10 #include "googleurl/src/gurl.h"
10 #include "ipc/ipc_message_macros.h" 11 #include "ipc/ipc_message_macros.h"
11 12
12 #undef IPC_MESSAGE_EXPORT 13 #undef IPC_MESSAGE_EXPORT
13 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 14 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
14 15
15 #define IPC_MESSAGE_START ChildProcessMsgStart 16 #define IPC_MESSAGE_START ChildProcessMsgStart
16 17
17 // Messages sent from the browser to the child process. 18 // Messages sent from the browser to the child process.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 72
72 #if defined(OS_WIN) 73 #if defined(OS_WIN)
73 // Request that the given font be loaded by the host so it's cached by the 74 // Request that the given font be loaded by the host so it's cached by the
74 // OS. Please see ChildProcessHost::PreCacheFont for details. 75 // OS. Please see ChildProcessHost::PreCacheFont for details.
75 IPC_SYNC_MESSAGE_CONTROL1_0(ChildProcessHostMsg_PreCacheFont, 76 IPC_SYNC_MESSAGE_CONTROL1_0(ChildProcessHostMsg_PreCacheFont,
76 LOGFONT /* font data */) 77 LOGFONT /* font data */)
77 78
78 // Release the cached font 79 // Release the cached font
79 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ReleaseCachedFonts) 80 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ReleaseCachedFonts)
80 #endif // defined(OS_WIN) 81 #endif // defined(OS_WIN)
82
83 // Asks the browser to create a block of shared memory for the child process to
84 // fill in and pass back to the browser.
85 IPC_SYNC_MESSAGE_CONTROL1_1(ChildProcessHostMsg_SyncAllocateSharedMemory,
86 uint32 /* buffer size */,
87 base::SharedMemoryHandle)
OLDNEW
« no previous file with comments | « content/common/child_process_host.cc ('k') | content/common/child_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698