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

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

Issue 4997001: C++ readability change for jochen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/browser/extensions
Patch Set: more long long to int64 Created 10 years, 1 month 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/notification_type.h ('k') | chrome/common/render_messages_params.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 1210 matching lines...) Expand 10 before | Expand all | Expand 10 after
1221 ViewHostMsg_FrameNavigate_Params) 1221 ViewHostMsg_FrameNavigate_Params)
1222 1222
1223 // Notifies the browser that we have session history information. 1223 // Notifies the browser that we have session history information.
1224 // page_id: unique ID that allows us to distinguish between history entries. 1224 // page_id: unique ID that allows us to distinguish between history entries.
1225 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateState, 1225 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateState,
1226 int32 /* page_id */, 1226 int32 /* page_id */,
1227 std::string /* state */) 1227 std::string /* state */)
1228 1228
1229 // Notifies the browser that a document has been loaded in a frame. 1229 // Notifies the browser that a document has been loaded in a frame.
1230 IPC_MESSAGE_ROUTED1(ViewHostMsg_DocumentLoadedInFrame, 1230 IPC_MESSAGE_ROUTED1(ViewHostMsg_DocumentLoadedInFrame,
1231 long long /* frame_id */) 1231 int64 /* frame_id */)
1232 1232
1233 // Notifies the browser that a frame finished loading. 1233 // Notifies the browser that a frame finished loading.
1234 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidFinishLoad, 1234 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidFinishLoad,
1235 long long /* frame_id */) 1235 int64 /* frame_id */)
1236 1236
1237 // Changes the title for the page in the UI when the page is navigated or the 1237 // Changes the title for the page in the UI when the page is navigated or the
1238 // title changes. 1238 // title changes.
1239 // TODO(darin): use a UTF-8 string to reduce data size 1239 // TODO(darin): use a UTF-8 string to reduce data size
1240 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTitle, int32, std::wstring) 1240 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTitle, int32, std::wstring)
1241 1241
1242 // Changes the icon url for the page in the UI. 1242 // Changes the icon url for the page in the UI.
1243 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateIconURL, int32, GURL) 1243 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateIconURL, int32, GURL)
1244 1244
1245 // Change the encoding name of the page in UI when the page has detected 1245 // Change the encoding name of the page in UI when the page has detected
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
1282 1282
1283 // Sent when the renderer displays insecure content in a secure page. 1283 // Sent when the renderer displays insecure content in a secure page.
1284 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidDisplayInsecureContent) 1284 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidDisplayInsecureContent)
1285 1285
1286 // Sent when the renderer runs insecure content in a secure origin. 1286 // Sent when the renderer runs insecure content in a secure origin.
1287 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidRunInsecureContent, 1287 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidRunInsecureContent,
1288 std::string /* security_origin */) 1288 std::string /* security_origin */)
1289 1289
1290 // Sent when the renderer starts a provisional load for a frame. 1290 // Sent when the renderer starts a provisional load for a frame.
1291 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidStartProvisionalLoadForFrame, 1291 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidStartProvisionalLoadForFrame,
1292 long long /* frame_id */, 1292 int64 /* frame_id */,
1293 bool /* true if it is the main frame */, 1293 bool /* true if it is the main frame */,
1294 GURL /* url */) 1294 GURL /* url */)
1295 1295
1296 // Sent when the renderer fails a provisional load with an error. 1296 // Sent when the renderer fails a provisional load with an error.
1297 IPC_MESSAGE_ROUTED5(ViewHostMsg_DidFailProvisionalLoadWithError, 1297 IPC_MESSAGE_ROUTED5(ViewHostMsg_DidFailProvisionalLoadWithError,
1298 long long /* frame_id */, 1298 int64 /* frame_id */,
1299 bool /* true if it is the main frame */, 1299 bool /* true if it is the main frame */,
1300 int /* error_code */, 1300 int /* error_code */,
1301 GURL /* url */, 1301 GURL /* url */,
1302 bool /* true if the failure is the result of 1302 bool /* true if the failure is the result of
1303 navigating to a POST again and we're going to 1303 navigating to a POST again and we're going to
1304 show the POST interstitial */) 1304 show the POST interstitial */)
1305 1305
1306 // Tells the render view that a ViewHostMsg_PaintAtSize message was 1306 // Tells the render view that a ViewHostMsg_PaintAtSize message was
1307 // processed, and the DIB is ready for use. |tag| has the same value that 1307 // processed, and the DIB is ready for use. |tag| has the same value that
1308 // the tag sent along with ViewMsg_PaintAtSize. 1308 // the tag sent along with ViewMsg_PaintAtSize.
(...skipping 1760 matching lines...) Expand 10 before | Expand all | Expand 10 after
3069 base::PlatformFileInfo, /* info */ 3069 base::PlatformFileInfo, /* info */
3070 base::PlatformFileError /* error_code */) 3070 base::PlatformFileError /* error_code */)
3071 3071
3072 // Get the directory's contents. 3072 // Get the directory's contents.
3073 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, 3073 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents,
3074 FilePath /* path */, 3074 FilePath /* path */,
3075 PepperDirContents, /* contents */ 3075 PepperDirContents, /* contents */
3076 base::PlatformFileError /* error_code */) 3076 base::PlatformFileError /* error_code */)
3077 3077
3078 IPC_END_MESSAGES(ViewHost) 3078 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/common/notification_type.h ('k') | chrome/common/render_messages_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698