Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2942)

Unified Diff: chrome/browser/resources/chromeos/keyboard_overlay.js

Issue 10827234: Fix Search key incorrectly recognized as Alt by the keyboard overlay. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/keyboard_overlay.js
diff --git a/chrome/browser/resources/chromeos/keyboard_overlay.js b/chrome/browser/resources/chromeos/keyboard_overlay.js
index 15aa6d32b4bb899dbcc48aa2a2b70abfd3b05d2f..1f0faa0968ddbd94cca4bc3b366eed0f0dfd6fb2 100644
--- a/chrome/browser/resources/chromeos/keyboard_overlay.js
+++ b/chrome/browser/resources/chromeos/keyboard_overlay.js
@@ -177,8 +177,6 @@ function getModifiers(e) {
16: 'SHIFT',
17: 'CTRL',
18: 'ALT',
- 91: 'ALT', // left ALT pressed with SHIFT
- 92: 'ALT', // right ALT pressed with SHIFT
};
var modifierWithKeyCode = keyCodeToModifier[e.keyCode];
var isPressed = {'SHIFT': e.shiftKey, 'CTRL': e.ctrlKey, 'ALT': e.altKey};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698