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

Unified Diff: ui/views/focus/focus_manager.cc

Issue 2013293002: NOT FOR COMMIT: Make altgr+left and altgr+right navigate back/forward on views. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: ui/views/focus/focus_manager.cc
diff --git a/ui/views/focus/focus_manager.cc b/ui/views/focus/focus_manager.cc
index bd6b0dc19fe4749a958afe41f8c49dd158ed446a..1ddde2ac852e9abc5cd2865d79fa6a7e45ee2b54 100644
--- a/ui/views/focus/focus_manager.cc
+++ b/ui/views/focus/focus_manager.cc
@@ -530,7 +530,7 @@ void FocusManager::RemoveFocusChangeListener(FocusChangeListener* listener) {
}
bool FocusManager::ProcessArrowKeyTraversal(const ui::KeyEvent& event) {
- if (event.IsShiftDown() || event.IsControlDown() || event.IsAltDown())
+ if (event.IsShiftDown() || event.IsControlDown() || event.IsAltDown() || event.IsAltGrDown())
Peter Kasting 2016/05/27 01:11:01 Nit: 80 columns
return false;
const int key_code = event.key_code();
« ui/views/controls/textfield/textfield.cc ('K') | « ui/views/controls/textfield/textfield.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698