summaryrefslogtreecommitdiffstats
path: root/views/controls/menu/menu_2.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-02 16:21:17 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-02 16:21:17 +0000
commita5176dafb70d5ea7567b18917d85c4cddc937dc4 (patch)
tree45a3a875cb48ee3b54a536ba9a4a7a5902138650 /views/controls/menu/menu_2.h
parent8e12ae06a009107635e2045db802907fd4ae2df1 (diff)
downloadchromium_src-a5176dafb70d5ea7567b18917d85c4cddc937dc4.zip
chromium_src-a5176dafb70d5ea7567b18917d85c4cddc937dc4.tar.gz
chromium_src-a5176dafb70d5ea7567b18917d85c4cddc937dc4.tar.bz2
Convert menu strings to UTF16, fix some views-GTK build errors.
Review URL: http://codereview.chromium.org/150171 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19820 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/menu/menu_2.h')
-rw-r--r--views/controls/menu/menu_2.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/views/controls/menu/menu_2.h b/views/controls/menu/menu_2.h
index 665b807..045309e 100644
--- a/views/controls/menu/menu_2.h
+++ b/views/controls/menu/menu_2.h
@@ -5,9 +5,8 @@
#ifndef CONTROLS_MENU_VIEWS_MENU_2_H_
#define CONTROLS_MENU_VIEWS_MENU_2_H_
-#include <string>
-
#include "base/gfx/native_widget_types.h"
+#include "base/string16.h"
namespace gfx {
class Point;
@@ -58,7 +57,7 @@ class Menu2Model {
virtual int GetCommandIdAt(int index) const = 0;
// Returns the label of the item at the specified index.
- virtual std::wstring GetLabelAt(int index) const = 0;
+ virtual string16 GetLabelAt(int index) const = 0;
// Returns true if the label at the specified index can change over the course
// of the menu's lifetime. If this function returns true, the label of the