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

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

Issue 207025: NaCl-Chrome integration (Closed) Base URL: svn://chrome-svn/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/nacl_types.h ('k') | chrome/common/sandbox_init_wrapper.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>
11 11
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 13
14 #include "base/clipboard.h" 14 #include "base/clipboard.h"
15 #include "base/file_path.h" 15 #include "base/file_path.h"
16 #include "base/nullable_string16.h" 16 #include "base/nullable_string16.h"
17 #include "base/platform_file.h" 17 #include "base/platform_file.h"
18 #include "base/gfx/rect.h" 18 #include "base/gfx/rect.h"
19 #include "base/gfx/native_widget_types.h" 19 #include "base/gfx/native_widget_types.h"
20 #include "base/shared_memory.h" 20 #include "base/shared_memory.h"
21 #include "base/values.h" 21 #include "base/values.h"
22 #include "chrome/common/css_colors.h" 22 #include "chrome/common/css_colors.h"
23 #include "chrome/common/extensions/update_manifest.h" 23 #include "chrome/common/extensions/update_manifest.h"
24 #include "chrome/common/nacl_types.h"
24 #include "chrome/common/transport_dib.h" 25 #include "chrome/common/transport_dib.h"
25 #include "chrome/common/view_types.h" 26 #include "chrome/common/view_types.h"
26 #include "ipc/ipc_channel_handle.h" 27 #include "ipc/ipc_channel_handle.h"
27 #include "ipc/ipc_message_macros.h" 28 #include "ipc/ipc_message_macros.h"
28 #include "third_party/skia/include/core/SkBitmap.h" 29 #include "third_party/skia/include/core/SkBitmap.h"
29 #include "webkit/appcache/appcache_interfaces.h" 30 #include "webkit/appcache/appcache_interfaces.h"
30 #include "webkit/glue/dom_operations.h" 31 #include "webkit/glue/dom_operations.h"
31 #include "webkit/glue/webcursor.h" 32 #include "webkit/glue/webcursor.h"
32 #include "webkit/glue/webplugin.h" 33 #include "webkit/glue/webplugin.h"
33 34
(...skipping 1024 matching lines...) Expand 10 before | Expand all | Expand 10 after
1058 // create a plugin. The browser will create the plugin process if 1059 // create a plugin. The browser will create the plugin process if
1059 // necessary, and will return a handle to the channel on success. 1060 // necessary, and will return a handle to the channel on success.
1060 // On error an empty string is returned. 1061 // On error an empty string is returned.
1061 IPC_SYNC_MESSAGE_CONTROL3_2(ViewHostMsg_OpenChannelToPlugin, 1062 IPC_SYNC_MESSAGE_CONTROL3_2(ViewHostMsg_OpenChannelToPlugin,
1062 GURL /* url */, 1063 GURL /* url */,
1063 std::string /* mime_type */, 1064 std::string /* mime_type */,
1064 std::wstring /* locale */, 1065 std::wstring /* locale */,
1065 IPC::ChannelHandle /* handle to channel */, 1066 IPC::ChannelHandle /* handle to channel */,
1066 WebPluginInfo /* info */) 1067 WebPluginInfo /* info */)
1067 1068
1069 // A renderer sends this to the browser process when it wants to start
1070 // a new instance of the Native Client process. The browser will launch
1071 // the process and return a handle to an IMC channel.
1072 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_LaunchNaCl,
1073 int /* channel number, usually 5 */,
1074 nacl::FileDescriptor /* handle - one side
1075 of a socket pair */)
1076
1068 #if defined(OS_LINUX) 1077 #if defined(OS_LINUX)
1069 // A renderer sends this when it needs a browser-side widget for 1078 // A renderer sends this when it needs a browser-side widget for
1070 // hosting a windowed plugin. id is the XID of the plugin window, for which 1079 // hosting a windowed plugin. id is the XID of the plugin window, for which
1071 // the container is created. 1080 // the container is created.
1072 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_CreatePluginContainer, 1081 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_CreatePluginContainer,
1073 gfx::PluginWindowHandle /* id */) 1082 gfx::PluginWindowHandle /* id */)
1074 1083
1075 // Destroy a plugin container previously created using CreatePluginContainer. 1084 // Destroy a plugin container previously created using CreatePluginContainer.
1076 // id is the XID of the plugin window corresponding to the container that is 1085 // id is the XID of the plugin window corresponding to the container that is
1077 // to be destroyed. 1086 // to be destroyed.
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
1735 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, 1744 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes,
1736 FilePath /* the name of the file */, 1745 FilePath /* the name of the file */,
1737 int32 /* a unique message ID */) 1746 int32 /* a unique message ID */)
1738 1747
1739 // Asks the browser process to return the size of a DB file 1748 // Asks the browser process to return the size of a DB file
1740 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, 1749 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize,
1741 FilePath /* the name of the file */, 1750 FilePath /* the name of the file */,
1742 int32 /* a unique message ID */) 1751 int32 /* a unique message ID */)
1743 1752
1744 IPC_END_MESSAGES(ViewHost) 1753 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/common/nacl_types.h ('k') | chrome/common/sandbox_init_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698