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

Unified Diff: ui/base/gtk/menu_label_accelerator_util.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: LinuxUtilTest -> MenuLabelAcceleratorTest 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
« no previous file with comments | « ui/base/gtk/menu_label_accelerator_util.h ('k') | ui/base/gtk/menu_label_accelerator_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/gtk/menu_label_accelerator_util.cc
diff --git a/ui/gfx/linux_util.cc b/ui/base/gtk/menu_label_accelerator_util.cc
similarity index 95%
rename from ui/gfx/linux_util.cc
rename to ui/base/gtk/menu_label_accelerator_util.cc
index 8484e1b4452c43f56b5ab76688ff2ad04a8ddd87..f8192c56feffc5526f68974573307294b06dd03c 100644
--- a/ui/gfx/linux_util.cc
+++ b/ui/base/gtk/menu_label_accelerator_util.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/gfx/linux_util.h"
+#include "ui/base/gtk/menu_label_accelerator_util.h"
#include "base/string_util.h"
@@ -39,7 +39,7 @@ std::string ConvertAmpersandsTo(const std::string& label,
} // namespace
-namespace gfx {
+namespace ui {
std::string ConvertAcceleratorsFromWindowsStyle(const std::string& label) {
return ConvertAmpersandsTo(label, "_");
@@ -59,4 +59,4 @@ std::string EscapeWindowsStyleAccelerators(const std::string& label) {
return ret;
}
-} // namespace gfx
+} // namespace ui
« no previous file with comments | « ui/base/gtk/menu_label_accelerator_util.h ('k') | ui/base/gtk/menu_label_accelerator_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698