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

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

Issue 153002: NaCl-Chrome integration - step 1 (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 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 | « 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 <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "build/build_config.h" 13 #include "build/build_config.h"
14 14
15 #include "base/clipboard.h" 15 #include "base/clipboard.h"
16 #include "base/file_path.h" 16 #include "base/file_path.h"
17 #include "base/nullable_string16.h" 17 #include "base/nullable_string16.h"
18 #include "base/platform_file.h" 18 #include "base/platform_file.h"
19 #include "base/gfx/rect.h" 19 #include "base/gfx/rect.h"
20 #include "base/gfx/native_widget_types.h" 20 #include "base/gfx/native_widget_types.h"
21 #include "base/shared_memory.h" 21 #include "base/shared_memory.h"
22 #include "base/values.h" 22 #include "base/values.h"
23 #include "chrome/common/css_colors.h" 23 #include "chrome/common/css_colors.h"
24 #include "chrome/common/extensions/update_manifest.h" 24 #include "chrome/common/extensions/update_manifest.h"
25 #include "chrome/common/nacl_types.h"
25 #include "chrome/common/notification_type.h" 26 #include "chrome/common/notification_type.h"
26 #include "chrome/common/transport_dib.h" 27 #include "chrome/common/transport_dib.h"
27 #include "chrome/common/view_types.h" 28 #include "chrome/common/view_types.h"
28 #include "ipc/ipc_channel_handle.h" 29 #include "ipc/ipc_channel_handle.h"
29 #include "ipc/ipc_message.h" 30 #include "ipc/ipc_message.h"
30 #include "ipc/ipc_message_macros.h" 31 #include "ipc/ipc_message_macros.h"
31 #include "third_party/skia/include/core/SkBitmap.h" 32 #include "third_party/skia/include/core/SkBitmap.h"
32 #include "webkit/appcache/appcache_interfaces.h" 33 #include "webkit/appcache/appcache_interfaces.h"
33 #include "webkit/glue/dom_operations.h" 34 #include "webkit/glue/dom_operations.h"
34 #include "webkit/glue/webcursor.h" 35 #include "webkit/glue/webcursor.h"
(...skipping 1063 matching lines...) Expand 10 before | Expand all | Expand 10 after
1098 // create a plugin. The browser will create the plugin process if 1099 // create a plugin. The browser will create the plugin process if
1099 // necessary, and will return a handle to the channel on success. 1100 // necessary, and will return a handle to the channel on success.
1100 // On error an empty string is returned. 1101 // On error an empty string is returned.
1101 IPC_SYNC_MESSAGE_CONTROL3_2(ViewHostMsg_OpenChannelToPlugin, 1102 IPC_SYNC_MESSAGE_CONTROL3_2(ViewHostMsg_OpenChannelToPlugin,
1102 GURL /* url */, 1103 GURL /* url */,
1103 std::string /* mime_type */, 1104 std::string /* mime_type */,
1104 std::wstring /* locale */, 1105 std::wstring /* locale */,
1105 IPC::ChannelHandle /* handle to channel */, 1106 IPC::ChannelHandle /* handle to channel */,
1106 WebPluginInfo /* info */) 1107 WebPluginInfo /* info */)
1107 1108
1109 // A renderer sends this to the browser process when it wants to start
1110 // a new instance of the Native Client process. The browser will launch
1111 // the process and return a handle to an IMC channel.
1112 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_LaunchNaCl,
1113 int /* channel number */,
1114 nacl::FileDescriptor /* handle - one side
1115 of a socket pair */)
1116
1108 #if defined(OS_LINUX) 1117 #if defined(OS_LINUX)
1109 // A renderer sends this when it needs a browser-side widget for 1118 // A renderer sends this when it needs a browser-side widget for
1110 // hosting a windowed plugin. id is the XID of the plugin window, for which 1119 // hosting a windowed plugin. id is the XID of the plugin window, for which
1111 // the container is created. 1120 // the container is created.
1112 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_CreatePluginContainer, 1121 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_CreatePluginContainer,
1113 gfx::PluginWindowHandle /* id */) 1122 gfx::PluginWindowHandle /* id */)
1114 1123
1115 // Destroy a plugin container previously created using CreatePluginContainer. 1124 // Destroy a plugin container previously created using CreatePluginContainer.
1116 // id is the XID of the plugin window corresponding to the container that is 1125 // id is the XID of the plugin window corresponding to the container that is
1117 // to be destroyed. 1126 // to be destroyed.
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
1775 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, 1784 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes,
1776 FilePath /* the name of the file */, 1785 FilePath /* the name of the file */,
1777 int32 /* a unique message ID */) 1786 int32 /* a unique message ID */)
1778 1787
1779 // Asks the browser process to return the size of a DB file 1788 // Asks the browser process to return the size of a DB file
1780 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, 1789 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize,
1781 FilePath /* the name of the file */, 1790 FilePath /* the name of the file */,
1782 int32 /* a unique message ID */) 1791 int32 /* a unique message ID */)
1783 1792
1784 IPC_END_MESSAGES(ViewHost) 1793 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