summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-04 02:50:10 +0000
committerderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-04 02:50:10 +0000
commite4863757eeb724ca33db235e27a89811c5473382 (patch)
tree2ee03ccc5ec9f49a574b3ebb7cd9c2e173728313 /chrome
parent8d022a907bf74f4190fe15ad256c5264b396589e (diff)
downloadchromium_src-e4863757eeb724ca33db235e27a89811c5473382.zip
chromium_src-e4863757eeb724ca33db235e27a89811c5473382.tar.gz
chromium_src-e4863757eeb724ca33db235e27a89811c5473382.tar.bz2
gtk: Remove Backspace and Shift-Backspace accelerators.
I am doing this for platform compatibility on Linux: per http://kb.mozillazine.org/Browser.backspace_action, these accelerators have been disabled by default in Firefox since 2006-12-07. They are also not present in Epiphany or Midori. BUG=30699 TEST=tried them; they do nothing now Review URL: http://codereview.chromium.org/565050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38074 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/gtk/accelerators_gtk.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/browser/gtk/accelerators_gtk.cc b/chrome/browser/gtk/accelerators_gtk.cc
index b7655d0..fa043d1 100644
--- a/chrome/browser/gtk/accelerators_gtk.cc
+++ b/chrome/browser/gtk/accelerators_gtk.cc
@@ -116,10 +116,8 @@ const struct AcceleratorMapping {
{ GDK_Escape, IDC_STOP, GdkModifierType(0) },
{ XF86XK_Stop, IDC_STOP, GdkModifierType(0) },
{ GDK_Left, IDC_BACK, GDK_MOD1_MASK },
- { GDK_BackSpace, IDC_BACK, GdkModifierType(0) },
{ XF86XK_Back, IDC_BACK, GdkModifierType(0) },
{ GDK_Right, IDC_FORWARD, GDK_MOD1_MASK },
- { GDK_BackSpace, IDC_FORWARD, GDK_SHIFT_MASK },
{ XF86XK_Forward, IDC_FORWARD, GdkModifierType(0) },
{ GDK_r, IDC_RELOAD, GDK_CONTROL_MASK },
{ GDK_F5, IDC_RELOAD, GdkModifierType(0) },