summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-11 02:29:00 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-11 02:29:00 +0000
commit4f99c27d6d828a69449ea392446470dcbb0d3b8e (patch)
treeb6f97a69760101eb737f070a958c2ae28d042e6f /chrome
parent93273a6c861a2d1579f0b26a545fcd544d825633 (diff)
downloadchromium_src-4f99c27d6d828a69449ea392446470dcbb0d3b8e.zip
chromium_src-4f99c27d6d828a69449ea392446470dcbb0d3b8e.tar.gz
chromium_src-4f99c27d6d828a69449ea392446470dcbb0d3b8e.tar.bz2
Enable zooming in on Linux.
Review URL: http://codereview.chromium.org/66068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13556 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/gtk/standard_menus.cc10
1 files changed, 9 insertions, 1 deletions
diff --git a/chrome/browser/gtk/standard_menus.cc b/chrome/browser/gtk/standard_menus.cc
index bb781ec..335e275 100644
--- a/chrome/browser/gtk/standard_menus.cc
+++ b/chrome/browser/gtk/standard_menus.cc
@@ -17,11 +17,19 @@ namespace {
struct MenuCreateMaterial zoom_menu_materials[] = {
{ MENU_NORMAL, IDC_ZOOM_PLUS, IDS_ZOOM_PLUS, 0, NULL,
- GDK_plus, GDK_CONTROL_MASK },
+ GDK_plus, GDK_CONTROL_MASK|GDK_SHIFT_MASK },
+ { MENU_NORMAL, IDC_ZOOM_PLUS, IDS_ZOOM_PLUS, 0, NULL,
+ GDK_equal, GDK_CONTROL_MASK },
+ { MENU_NORMAL, IDC_ZOOM_PLUS, IDS_ZOOM_PLUS, 0, NULL,
+ GDK_KP_Add, GDK_CONTROL_MASK },
{ MENU_NORMAL, IDC_ZOOM_NORMAL, IDS_ZOOM_NORMAL, 0, NULL,
GDK_0, GDK_CONTROL_MASK },
+ { MENU_NORMAL, IDC_ZOOM_NORMAL, IDS_ZOOM_NORMAL, 0, NULL,
+ GDK_KP_0, GDK_CONTROL_MASK },
{ MENU_NORMAL, IDC_ZOOM_MINUS, IDS_ZOOM_MINUS, 0, NULL,
GDK_minus, GDK_CONTROL_MASK },
+ { MENU_NORMAL, IDC_ZOOM_MINUS, IDS_ZOOM_MINUS, 0, NULL,
+ GDK_KP_Subtract, GDK_CONTROL_MASK },
{ MENU_END, 0, 0, 0, NULL }
};