| Index: ui/base/gtk/menu_label_accelerator_util.h
|
| diff --git a/ui/gfx/linux_util.h b/ui/base/gtk/menu_label_accelerator_util.h
|
| similarity index 82%
|
| rename from ui/gfx/linux_util.h
|
| rename to ui/base/gtk/menu_label_accelerator_util.h
|
| index a2136afc4d5d24c55a7376b52e002ea86bc249f2..276a85967a88af494989a7429ffc6b2cd08e38f4 100644
|
| --- a/ui/gfx/linux_util.h
|
| +++ b/ui/base/gtk/menu_label_accelerator_util.h
|
| @@ -2,15 +2,15 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef UI_GFX_LINUX_UTIL_H_
|
| -#define UI_GFX_LINUX_UTIL_H_
|
| +#ifndef UI_BASE_GTK_MENU_LABEL_ACCELERATOR_UTIL_H_
|
| +#define UI_BASE_GTK_MENU_LABEL_ACCELERATOR_UTIL_H_
|
| #pragma once
|
|
|
| #include <string>
|
|
|
| #include "ui/base/ui_export.h"
|
|
|
| -namespace gfx {
|
| +namespace ui {
|
|
|
| // Change windows accelerator style to GTK style. (GTK uses _ for
|
| // accelerators. Windows uses & with && as an escape for &.)
|
| @@ -25,6 +25,6 @@ UI_EXPORT std::string RemoveWindowsStyleAccelerators(const std::string& label);
|
| // with "_" characters doubled, to escape them for GTK).
|
| UI_EXPORT std::string EscapeWindowsStyleAccelerators(const std::string& label);
|
|
|
| -} // namespace gfx
|
| +} // namespace ui
|
|
|
| -#endif // UI_GFX_LINUX_UTIL_H_
|
| +#endif // UI_BASE_GTK_MENU_LABEL_ACCELERATOR_UTIL_H_
|
|
|