From 9c8f1501112092eba0e1c411c2c196487eb61b00 Mon Sep 17 00:00:00 2001 From: "erg@chromium.org" Date: Fri, 25 Jun 2010 21:34:04 +0000 Subject: Reapply r50859 with chromeos fixes. GTK: First draft of the unified cut/copy/paste and +/-/Fullscreen menu items. Adds special menu item types that allow shoving buttons into them, along with tracking which button is selected. We now are halfway to the mocks that the chrome-ui-leads sent out. Review URL: http://codereview.chromium.org/2800015 BUG=45757 TEST=none Review URL: http://codereview.chromium.org/2879002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50896 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/gtk/gtk_util.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'chrome/browser/gtk/gtk_util.h') diff --git a/chrome/browser/gtk/gtk_util.h b/chrome/browser/gtk/gtk_util.h index 7852493..3954729 100644 --- a/chrome/browser/gtk/gtk_util.h +++ b/chrome/browser/gtk/gtk_util.h @@ -141,6 +141,9 @@ GtkWidget* CenterWidgetInHBox(GtkWidget* hbox, GtkWidget* widget, // accelerators. Windows uses & with && as an escape for &.) std::string ConvertAcceleratorsFromWindowsStyle(const std::string& label); +// Removes the "&" accelerators from a Windows label. +std::string RemoveWindowsStyleAccelerators(const std::string& label); + // Returns true if the screen is composited, false otherwise. bool IsScreenComposited(); -- cgit v1.1