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

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

Issue 3386014: This adds some plumbing for propagating the status and error code of a (Closed)
Patch Set: Fixed Mac code to handle both SEGV and BUS Created 10 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
« no previous file with comments | « chrome/common/notification_type.h ('k') | chrome/common/result_codes.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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>
(...skipping 1114 matching lines...) Expand 10 before | Expand all | Expand 10 after
1125 1125
1126 IPC_MESSAGE_CONTROL1(ViewHostMsg_UpdatedCacheStats, 1126 IPC_MESSAGE_CONTROL1(ViewHostMsg_UpdatedCacheStats,
1127 WebKit::WebCache::UsageStats /* stats */) 1127 WebKit::WebCache::UsageStats /* stats */)
1128 1128
1129 // Indicates the renderer is ready in response to a ViewMsg_New or 1129 // Indicates the renderer is ready in response to a ViewMsg_New or
1130 // a ViewMsg_CreatingNew_ACK. 1130 // a ViewMsg_CreatingNew_ACK.
1131 IPC_MESSAGE_ROUTED0(ViewHostMsg_RenderViewReady) 1131 IPC_MESSAGE_ROUTED0(ViewHostMsg_RenderViewReady)
1132 1132
1133 // Indicates the renderer process is gone. This actually is sent by the 1133 // Indicates the renderer process is gone. This actually is sent by the
1134 // browser process to itself, but keeps the interface cleaner. 1134 // browser process to itself, but keeps the interface cleaner.
1135 IPC_MESSAGE_ROUTED0(ViewHostMsg_RenderViewGone) 1135 IPC_MESSAGE_ROUTED2(ViewHostMsg_RenderViewGone,
1136 int, /* this really is base::TerminationStatus */
1137 int /* exit_code */)
1136 1138
1137 // Sent by the renderer process to request that the browser close the view. 1139 // Sent by the renderer process to request that the browser close the view.
1138 // This corresponds to the window.close() API, and the browser may ignore 1140 // This corresponds to the window.close() API, and the browser may ignore
1139 // this message. Otherwise, the browser will generates a ViewMsg_Close 1141 // this message. Otherwise, the browser will generates a ViewMsg_Close
1140 // message to close the view. 1142 // message to close the view.
1141 IPC_MESSAGE_ROUTED0(ViewHostMsg_Close) 1143 IPC_MESSAGE_ROUTED0(ViewHostMsg_Close)
1142 1144
1143 // Sent by the renderer process to request that the browser move the view. 1145 // Sent by the renderer process to request that the browser move the view.
1144 // This corresponds to the window.resizeTo() and window.moveTo() APIs, and 1146 // This corresponds to the window.resizeTo() and window.moveTo() APIs, and
1145 // the browser may ignore this message. 1147 // the browser may ignore this message.
(...skipping 1724 matching lines...) Expand 10 before | Expand all | Expand 10 after
2870 // Unregister a blob URL. 2872 // Unregister a blob URL.
2871 IPC_MESSAGE_CONTROL1(ViewHostMsg_UnregisterBlobUrl, GURL /* url */) 2873 IPC_MESSAGE_CONTROL1(ViewHostMsg_UnregisterBlobUrl, GURL /* url */)
2872 2874
2873 // Suggest results ----------------------------------------------------------- 2875 // Suggest results -----------------------------------------------------------
2874 2876
2875 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetSuggestResult, 2877 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetSuggestResult,
2876 int32 /* page_id */, 2878 int32 /* page_id */,
2877 std::string /* suggest */) 2879 std::string /* suggest */)
2878 2880
2879 IPC_END_MESSAGES(ViewHost) 2881 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/common/notification_type.h ('k') | chrome/common/result_codes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698