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

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

Issue 192017: Convert std::wstring encoding names to std::string in a bunch of files. (Closed)
Patch Set: mac and linux fixes 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
« no previous file with comments | « chrome/browser/views/toolbar_view.cc ('k') | chrome/renderer/render_view.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) 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>
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 // Change the zoom level in the renderer. 308 // Change the zoom level in the renderer.
309 IPC_MESSAGE_ROUTED1(ViewMsg_Zoom, 309 IPC_MESSAGE_ROUTED1(ViewMsg_Zoom,
310 int /* One of PageZoom::Function */) 310 int /* One of PageZoom::Function */)
311 311
312 // Insert text in the currently focused input area. 312 // Insert text in the currently focused input area.
313 IPC_MESSAGE_ROUTED1(ViewMsg_InsertText, 313 IPC_MESSAGE_ROUTED1(ViewMsg_InsertText,
314 string16 /* text */) 314 string16 /* text */)
315 315
316 // Change encoding of page in the renderer. 316 // Change encoding of page in the renderer.
317 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding, 317 IPC_MESSAGE_ROUTED1(ViewMsg_SetPageEncoding,
318 std::wstring /*new encoding name*/) 318 std::string /*new encoding name*/)
319 319
320 // Requests the renderer to reserve a range of page ids. 320 // Requests the renderer to reserve a range of page ids.
321 IPC_MESSAGE_ROUTED1(ViewMsg_ReservePageIDRange, 321 IPC_MESSAGE_ROUTED1(ViewMsg_ReservePageIDRange,
322 int /* size_of_range */) 322 int /* size_of_range */)
323 323
324 // Fill a form with data and optionally submit it 324 // Fill a form with data and optionally submit it
325 IPC_MESSAGE_ROUTED1(ViewMsg_FormFill, 325 IPC_MESSAGE_ROUTED1(ViewMsg_FormFill,
326 FormData /* form */) 326 FormData /* form */)
327 327
328 // Fill a password form and prepare field autocomplete for multiple 328 // Fill a password form and prepare field autocomplete for multiple
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
791 IPC_MESSAGE_ROUTED0(ViewHostMsg_DocumentLoadedInFrame) 791 IPC_MESSAGE_ROUTED0(ViewHostMsg_DocumentLoadedInFrame)
792 792
793 // Changes the title for the page in the UI when the page is navigated or the 793 // Changes the title for the page in the UI when the page is navigated or the
794 // title changes. 794 // title changes.
795 // TODO(darin): use a UTF-8 string to reduce data size 795 // TODO(darin): use a UTF-8 string to reduce data size
796 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTitle, int32, std::wstring) 796 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTitle, int32, std::wstring)
797 797
798 // Change the encoding name of the page in UI when the page has detected 798 // Change the encoding name of the page in UI when the page has detected
799 // proper encoding name. 799 // proper encoding name.
800 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding, 800 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding,
801 std::wstring /* new encoding name */) 801 std::string /* new encoding name */)
802 802
803 // Notifies the browser that we want to show a destination url for a potential 803 // Notifies the browser that we want to show a destination url for a potential
804 // action (e.g. when the user is hovering over a link). 804 // action (e.g. when the user is hovering over a link).
805 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTargetURL, int32, GURL) 805 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTargetURL, int32, GURL)
806 806
807 // Sent when the renderer starts loading the page. This corresponds to 807 // Sent when the renderer starts loading the page. This corresponds to
808 // WebKit's notion of the throbber starting. Note that sometimes you may get 808 // WebKit's notion of the throbber starting. Note that sometimes you may get
809 // duplicates of these during a single load. 809 // duplicates of these during a single load.
810 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidStartLoading) 810 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidStartLoading)
811 811
(...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after
1692 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, 1692 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes,
1693 FilePath /* the name of the file */, 1693 FilePath /* the name of the file */,
1694 int32 /* a unique message ID */) 1694 int32 /* a unique message ID */)
1695 1695
1696 // Asks the browser process to return the size of a DB file 1696 // Asks the browser process to return the size of a DB file
1697 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, 1697 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize,
1698 FilePath /* the name of the file */, 1698 FilePath /* the name of the file */,
1699 int32 /* a unique message ID */) 1699 int32 /* a unique message ID */)
1700 1700
1701 IPC_END_MESSAGES(ViewHost) 1701 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/browser/views/toolbar_view.cc ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698