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

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 199105: Continue with the FreeBSD port - this version builds and links, though... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 3 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 | « chrome/common/pref_names.cc ('k') | chrome/plugin/plugin_thread.cc » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 1040 matching lines...) Expand 10 before | Expand all | Expand 10 after
1051 // create a plugin. The browser will create the plugin process if 1051 // create a plugin. The browser will create the plugin process if
1052 // necessary, and will return a handle to the channel on success. 1052 // necessary, and will return a handle to the channel on success.
1053 // On error an empty string is returned. 1053 // On error an empty string is returned.
1054 IPC_SYNC_MESSAGE_CONTROL3_2(ViewHostMsg_OpenChannelToPlugin, 1054 IPC_SYNC_MESSAGE_CONTROL3_2(ViewHostMsg_OpenChannelToPlugin,
1055 GURL /* url */, 1055 GURL /* url */,
1056 std::string /* mime_type */, 1056 std::string /* mime_type */,
1057 std::wstring /* locale */, 1057 std::wstring /* locale */,
1058 IPC::ChannelHandle /* handle to channel */, 1058 IPC::ChannelHandle /* handle to channel */,
1059 WebPluginInfo /* info */) 1059 WebPluginInfo /* info */)
1060 1060
1061 #if defined(OS_LINUX) 1061 #if defined(USE_X11)
1062 // A renderer sends this when it needs a browser-side widget for 1062 // A renderer sends this when it needs a browser-side widget for
1063 // hosting a windowed plugin. id is the XID of the plugin window, for which 1063 // hosting a windowed plugin. id is the XID of the plugin window, for which
1064 // the container is created. 1064 // the container is created.
1065 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_CreatePluginContainer, 1065 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_CreatePluginContainer,
1066 gfx::PluginWindowHandle /* id */) 1066 gfx::PluginWindowHandle /* id */)
1067 1067
1068 // Destroy a plugin container previously created using CreatePluginContainer. 1068 // Destroy a plugin container previously created using CreatePluginContainer.
1069 // id is the XID of the plugin window corresponding to the container that is 1069 // id is the XID of the plugin window corresponding to the container that is
1070 // to be destroyed. 1070 // to be destroyed.
1071 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_DestroyPluginContainer, 1071 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_DestroyPluginContainer,
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
1376 int /* request_id */) 1376 int /* request_id */)
1377 1377
1378 #if defined(OS_WIN) 1378 #if defined(OS_WIN)
1379 // Duplicates a shared memory handle from the renderer to the browser. Then 1379 // Duplicates a shared memory handle from the renderer to the browser. Then
1380 // the renderer can flush the handle. 1380 // the renderer can flush the handle.
1381 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_DuplicateSection, 1381 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_DuplicateSection,
1382 base::SharedMemoryHandle /* renderer handle */, 1382 base::SharedMemoryHandle /* renderer handle */,
1383 base::SharedMemoryHandle /* browser handle */) 1383 base::SharedMemoryHandle /* browser handle */)
1384 #endif 1384 #endif
1385 1385
1386 #if defined(OS_LINUX) 1386 #if defined(USE_X11)
1387 // Asks the browser create a block of shared memory for the renderer to fill 1387 // Asks the browser create a block of shared memory for the renderer to fill
1388 // in resulting NativeMetafile in printing. 1388 // in resulting NativeMetafile in printing.
1389 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_AllocateShareMemory, 1389 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_AllocateShareMemory,
1390 size_t /* buffer size */, 1390 size_t /* buffer size */,
1391 base::SharedMemoryHandle /* browser handle */) 1391 base::SharedMemoryHandle /* browser handle */)
1392 #endif 1392 #endif
1393 1393
1394 // Provide the browser process with information about the WebCore resource 1394 // Provide the browser process with information about the WebCore resource
1395 // cache. 1395 // cache.
1396 IPC_MESSAGE_CONTROL1(ViewHostMsg_ResourceTypeStats, 1396 IPC_MESSAGE_CONTROL1(ViewHostMsg_ResourceTypeStats,
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
1721 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, 1721 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes,
1722 FilePath /* the name of the file */, 1722 FilePath /* the name of the file */,
1723 int32 /* a unique message ID */) 1723 int32 /* a unique message ID */)
1724 1724
1725 // Asks the browser process to return the size of a DB file 1725 // Asks the browser process to return the size of a DB file
1726 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, 1726 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize,
1727 FilePath /* the name of the file */, 1727 FilePath /* the name of the file */,
1728 int32 /* a unique message ID */) 1728 int32 /* a unique message ID */)
1729 1729
1730 IPC_END_MESSAGES(ViewHost) 1730 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chrome/plugin/plugin_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698