summaryrefslogtreecommitdiffstats
path: root/base/keyboard_code_conversion_gtk.cc
diff options
context:
space:
mode:
authorjcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-01 21:08:33 +0000
committerjcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-01 21:08:33 +0000
commitf97d7f638e2c076b4646a09a663b372493009594 (patch)
treeac7584d8fee9495345dc4703a71714a0552efd64 /base/keyboard_code_conversion_gtk.cc
parentb3cbcad170eb001ef8e8be9b80a38bafc6b7597f (diff)
downloadchromium_src-f97d7f638e2c076b4646a09a663b372493009594.zip
chromium_src-f97d7f638e2c076b4646a09a663b372493009594.tar.gz
chromium_src-f97d7f638e2c076b4646a09a663b372493009594.tar.bz2
Pressing the search button brings the NTP or close it if it is opened.
Note: this requires the WebKit https://bugs.webkit.org/show_bug.cgi?id=39752 to work. BUG=3404 TEST=See bug. Review URL: http://codereview.chromium.org/2260004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48658 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/keyboard_code_conversion_gtk.cc')
-rw-r--r--base/keyboard_code_conversion_gtk.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/keyboard_code_conversion_gtk.cc b/base/keyboard_code_conversion_gtk.cc
index f5f04c8..91de891 100644
--- a/base/keyboard_code_conversion_gtk.cc
+++ b/base/keyboard_code_conversion_gtk.cc
@@ -263,8 +263,10 @@ base::KeyboardCode WindowsKeyCodeForGdkKeyCode(int keycode) {
case GDK_Z:
return VKEY_Z; // (5A) Z key case 'z': case 'Z': return 0x5A;
case GDK_Meta_L:
+ case GDK_Super_L:
return VKEY_LWIN; // (5B) Left Windows key (Microsoft Natural keyboard)
case GDK_Meta_R:
+ case GDK_Super_R:
return VKEY_RWIN; // (5C) Right Windows key (Natural keyboard)
// VKEY_APPS (5D) Applications key (Natural keyboard)
// VKEY_SLEEP (5F) Computer Sleep key