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

Unified Diff: ui/webui/resources/js/cr/ui/focus_row.js

Issue 1019193002: Fix for handling alt+Left Arrow key for moving to previous visited URL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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: ui/webui/resources/js/cr/ui/focus_row.js
diff --git a/ui/webui/resources/js/cr/ui/focus_row.js b/ui/webui/resources/js/cr/ui/focus_row.js
index a50e62a55b1d62d0097f5974e556bc94309ccc60..68832d897bf78b86412aa2114a325d2759e91aa1 100644
--- a/ui/webui/resources/js/cr/ui/focus_row.js
+++ b/ui/webui/resources/js/cr/ui/focus_row.js
@@ -178,6 +178,9 @@ cr.define('cr.ui', function() {
if (this.delegate && this.delegate.onKeydown(this, e))
return;
+ if (e.altKey || e.ctrlKey || e.metaKey || e.shiftKey)
+ return;
+
var index = -1;
if (e.keyIdentifier == 'Left')
« 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