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

Unified Diff: chrome/browser/autocomplete/autocomplete_edit_view_win.cc

Issue 115891: Treat alt-(arrows/pgup/pgdn) like alt was not pressed. There's no reason to ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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/autocomplete/autocomplete_edit_view_win.cc
===================================================================
--- chrome/browser/autocomplete/autocomplete_edit_view_win.cc (revision 17014)
+++ chrome/browser/autocomplete/autocomplete_edit_view_win.cc (working copy)
@@ -1665,7 +1665,8 @@
// FALL THROUGH
case VK_UP:
case VK_DOWN:
- if (flags & KF_ALTDOWN)
+ // Ignore alt + numpad, but treat alt + (non-numpad) like (non-numpad).
+ if ((flags & KF_ALTDOWN) && !(flags & KF_EXTENDED))
return false;
model_->OnUpOrDownKeyPressed(((key == VK_PRIOR) || (key == VK_UP)) ?
« 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