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

Unified Diff: chrome/browser/tab_contents/render_view_context_menu_gtk.cc

Issue 10316013: linux: Move linux_util.h from gfx/ to ui/base/gtk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move to ui/base/gtk Created 8 years, 8 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_gtk.cc
diff --git a/chrome/browser/tab_contents/render_view_context_menu_gtk.cc b/chrome/browser/tab_contents/render_view_context_menu_gtk.cc
index 03587b3ccbf2633920beb5429c96343de323b18d..5f1f7012c8c15f70281b0c2321d36a7969c2eb7b 100644
--- a/chrome/browser/tab_contents/render_view_context_menu_gtk.cc
+++ b/chrome/browser/tab_contents/render_view_context_menu_gtk.cc
@@ -14,8 +14,8 @@
#include "content/public/browser/web_contents.h"
#include "content/public/common/context_menu_params.h"
#include "grit/generated_resources.h"
+#include "ui/base/gtk/menu_label_accelerator_util.h"
#include "ui/base/l10n/l10n_util.h"
-#include "ui/gfx/linux_util.h"
using content::WebContents;
@@ -101,7 +101,7 @@ void RenderViewContextMenuGtk::PlatformInit() {
if (!show_input_method_menu)
return;
- std::string label = gfx::ConvertAcceleratorsFromWindowsStyle(
+ std::string label = ui::ConvertAcceleratorsFromWindowsStyle(
l10n_util::GetStringUTF8(IDS_CONTENT_CONTEXT_INPUT_METHODS_MENU));
GtkWidget* menuitem = gtk_menu_item_new_with_mnemonic(label.c_str());
GtkWidget* submenu = rwhv->BuildInputMethodsGtkMenu();
« no previous file with comments | « no previous file | chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.cc » ('j') | chrome/browser/ui/gtk/menu_gtk.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698