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

Unified Diff: ui/login/display_manager.js

Issue 692383005: Add DeviceDisablingManager to manage device disabling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@f_3_425574_disable_header_bar
Patch Set: Add destructor required by clang. Created 6 years, 1 month 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 | « chrome/chrome_tests_unit.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/login/display_manager.js
diff --git a/ui/login/display_manager.js b/ui/login/display_manager.js
index 5561b9e2375e257d97432743c5f941ccdbf82f90..6dc7dd9e156fe0cc91443eddc526d3f82d7a06b2 100644
--- a/ui/login/display_manager.js
+++ b/ui/login/display_manager.js
@@ -326,6 +326,9 @@ cr.define('cr.ui.login', function() {
* @param {string} name Accelerator name.
*/
handleAccelerator: function(name) {
+ if (this.currentScreen.ignoreAccelerators) {
+ return;
+ }
var currentStepId = this.screens_[this.currentStep_];
if (name == ACCELERATOR_CANCEL) {
if (this.currentScreen.cancel) {
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698