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

Unified Diff: chrome/browser/resources/chromeos/login/oobe_screen_enable_debugging.js

Issue 788953005: cros: Add a11y to enable debugging screen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « chrome/browser/resources/chromeos/login/oobe_screen_enable_debugging.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/login/oobe_screen_enable_debugging.js
diff --git a/chrome/browser/resources/chromeos/login/oobe_screen_enable_debugging.js b/chrome/browser/resources/chromeos/login/oobe_screen_enable_debugging.js
index 2a8c8855757546da2a43a93c10604b6cfd44bc2a..a1b70bb18039e59886dcb4285828cabdb929170e 100644
--- a/chrome/browser/resources/chromeos/login/oobe_screen_enable_debugging.js
+++ b/chrome/browser/resources/chromeos/login/oobe_screen_enable_debugging.js
@@ -106,8 +106,10 @@ login.createScreen('EnableDebuggingScreen', 'debugging', function() {
return $('debugging-remove-protection-button');
else if (this.state_ == this.UI_STATE.SETUP)
return $('enable-debugging-password');
- else if (this.state_ == this.UI_STATE.DONE)
+ else if (this.state_ == this.UI_STATE.DONE ||
+ this.state_ == this.UI_STATE.ERROR) {
return $('debugging-ok-button');
+ }
return $('debugging-cancel-button');
},
« no previous file with comments | « chrome/browser/resources/chromeos/login/oobe_screen_enable_debugging.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698