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

Unified Diff: chrome/browser/tab_contents/render_view_context_menu.h

Issue 126223: Replace std:;wstring with std::string in locale-name related APIs.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/tab_contents/render_view_context_menu.h
===================================================================
--- chrome/browser/tab_contents/render_view_context_menu.h (revision 19124)
+++ chrome/browser/tab_contents/render_view_context_menu.h (working copy)
@@ -36,13 +36,13 @@
virtual void AppendMenuItem(int id) = 0;
// Append a normal menu item, using |label| for the name.
- virtual void AppendMenuItem(int id, const std::wstring& label) = 0;
+ virtual void AppendMenuItem(int id, const string16& label) = 0;
// Append a radio menu item.
- virtual void AppendRadioMenuItem(int id, const std::wstring& label) = 0;
+ virtual void AppendRadioMenuItem(int id, const string16& label) = 0;
// Append a checkbox menu item.
- virtual void AppendCheckboxMenuItem(int id, const std::wstring& label) = 0;
+ virtual void AppendCheckboxMenuItem(int id, const string16& label) = 0;
// Append a separator.
virtual void AppendSeparator() = 0;
@@ -52,7 +52,7 @@
// the main menu we are building. We only support at most single-depth
// submenus, so calls to StartSubMenu() while we are already building a
// submenu will be ignored.
- virtual void StartSubMenu(int id, const std::wstring& label) = 0;
+ virtual void StartSubMenu(int id, const string16& label) = 0;
// Finish creating the submenu and attach it to the main menu.
virtual void FinishSubMenu() = 0;
« no previous file with comments | « chrome/browser/search_engines/template_url_unittest.cc ('k') | chrome/browser/tab_contents/render_view_context_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698