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

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

Issue 2714012: Convert page contents grabbing from wide to UTF16. The current code is a bit... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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
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 1287 matching lines...) Expand 10 before | Expand all | Expand 10 after
1298 std::wstring /* in - default prompt */, 1298 std::wstring /* in - default prompt */,
1299 GURL /* in - originating page URL */, 1299 GURL /* in - originating page URL */,
1300 int /* in - dialog flags */, 1300 int /* in - dialog flags */,
1301 bool /* out - success */, 1301 bool /* out - success */,
1302 std::wstring /* out - prompt field */) 1302 std::wstring /* out - prompt field */)
1303 1303
1304 // Provides the contents for the given page that was loaded recently. 1304 // Provides the contents for the given page that was loaded recently.
1305 IPC_MESSAGE_ROUTED4(ViewHostMsg_PageContents, 1305 IPC_MESSAGE_ROUTED4(ViewHostMsg_PageContents,
1306 GURL /* URL of the page */, 1306 GURL /* URL of the page */,
1307 int32 /* page id */, 1307 int32 /* page id */,
1308 std::wstring /* page contents */, 1308 string16 /* page contents */,
1309 std::string /* page ISO639_1 language code */) 1309 std::string /* page ISO639_1 language code */)
1310 1310
1311 // Used to get the extension message bundle. 1311 // Used to get the extension message bundle.
1312 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetExtensionMessageBundle, 1312 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetExtensionMessageBundle,
1313 std::string /* extension id */, 1313 std::string /* extension id */,
1314 SubstitutionMap /* message bundle */) 1314 SubstitutionMap /* message bundle */)
1315 1315
1316 // Specifies the URL as the first parameter (a wstring) and thumbnail as 1316 // Specifies the URL as the first parameter (a wstring) and thumbnail as
1317 // binary data as the second parameter. 1317 // binary data as the second parameter.
1318 IPC_MESSAGE_ROUTED3(ViewHostMsg_Thumbnail, 1318 IPC_MESSAGE_ROUTED3(ViewHostMsg_Thumbnail,
(...skipping 1135 matching lines...) Expand 10 before | Expand all | Expand 10 after
2454 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume, 2454 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume,
2455 int /* render_view_id */, 2455 int /* render_view_id */,
2456 int /* bridge_id */) 2456 int /* bridge_id */)
2457 2457
2458 // Send the tree of accessibility data to the browser, where it's cached 2458 // Send the tree of accessibility data to the browser, where it's cached
2459 // in order to respond to OS accessibility queries immediately. 2459 // in order to respond to OS accessibility queries immediately.
2460 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityTree, 2460 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityTree,
2461 webkit_glue::WebAccessibility) 2461 webkit_glue::WebAccessibility)
2462 2462
2463 IPC_END_MESSAGES(ViewHost) 2463 IPC_END_MESSAGES(ViewHost)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698