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

Unified Diff: chrome/browser/resources/print_preview/previewarea/preview_area.js

Issue 2586113002: MD Settings: ignore modified key events in the profile avatar grid (Closed)
Patch Set: closure Created 4 years 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: chrome/browser/resources/print_preview/previewarea/preview_area.js
diff --git a/chrome/browser/resources/print_preview/previewarea/preview_area.js b/chrome/browser/resources/print_preview/previewarea/preview_area.js
index a572b42f6b530a8d3ba3d90d3ed6f3a77009215e..3c25bc0e8bf29350ab36f28a3470e17966618181 100644
--- a/chrome/browser/resources/print_preview/previewarea/preview_area.js
+++ b/chrome/browser/resources/print_preview/previewarea/preview_area.js
@@ -260,7 +260,7 @@ cr.define('print_preview', function() {
// If the user is holding a modifier key, ignore.
if (!this.plugin_ ||
!arrayContains([33, 34, 37, 38, 39, 40], e.keyCode) ||
- e.metaKey || e.altKey || e.shiftKey || e.ctrlKey) {
+ hasKeyModifiers(e)) {
return;
}
« no previous file with comments | « chrome/browser/resources/print_preview/common/overlay.js ('k') | chrome/browser/resources/print_preview/print_preview.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698