diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-29 01:08:24 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-29 01:08:24 +0000 |
commit | 0996997dcdeb39892665ce5ee7ae773ab2e729e3 (patch) | |
tree | 42cb5670877914ba66115fcd31ae42e57c9cd686 /views | |
parent | 4346168703bc2f3879669e1b969628ed62a266d2 (diff) | |
download | chromium_src-0996997dcdeb39892665ce5ee7ae773ab2e729e3.zip chromium_src-0996997dcdeb39892665ce5ee7ae773ab2e729e3.tar.gz chromium_src-0996997dcdeb39892665ce5ee7ae773ab2e729e3.tar.bz2 |
Cleanup: Remove base/gtk_util.h by moving its methods to
gfx/gtk_util.h
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/4150006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64348 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r-- | views/controls/menu/native_menu_gtk.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/views/controls/menu/native_menu_gtk.cc b/views/controls/menu/native_menu_gtk.cc index 45c64c0..1a9c241 100644 --- a/views/controls/menu/native_menu_gtk.cc +++ b/views/controls/menu/native_menu_gtk.cc @@ -11,7 +11,6 @@ #include "app/keyboard_code_conversion_gtk.h" #include "app/keyboard_codes.h" #include "app/menus/menu_model.h" -#include "base/gtk_util.h" #include "base/i18n/rtl.h" #include "base/message_loop.h" #include "base/time.h" @@ -308,7 +307,7 @@ GtkWidget* NativeMenuGtk::AddMenuItemAt(int index, GtkRadioMenuItem* radio_group, GtkAccelGroup* accel_group) { GtkWidget* menu_item = NULL; - std::string label = gtk_util::ConvertAcceleratorsFromWindowsStyle(UTF16ToUTF8( + std::string label = gfx::ConvertAcceleratorsFromWindowsStyle(UTF16ToUTF8( model_->GetLabelAt(index))); menus::MenuModel::ItemType type = model_->GetTypeAt(index); |