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

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

Issue 2688153004: ChromeOS OOBE: fix focus flow in MD-OOBE. (Closed)
Patch Set: Rebased. Created 3 years, 10 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: chrome/browser/resources/chromeos/login/oobe_eula.js
diff --git a/chrome/browser/resources/chromeos/login/oobe_eula.js b/chrome/browser/resources/chromeos/login/oobe_eula.js
index 8ff6cf2da761b18d70a4bd225bc5b56ab8bd5278..979021704a70a0e44d9fbe2410a80cdd15cecb97 100644
--- a/chrome/browser/resources/chromeos/login/oobe_eula.js
+++ b/chrome/browser/resources/chromeos/login/oobe_eula.js
@@ -20,13 +20,6 @@ Polymer({
},
/**
- * Shows Terms Of Service frame.
- */
- eulaScreenShown: {
- type: Array,
- },
-
- /**
* "Accepot and continue" button is disabled until content is loaded.
*/
acceptButtonDisabled: {
@@ -51,6 +44,14 @@ Polymer({
},
},
+ focus: function() {
+ if (this.eulaLoadingScreenShown) {
+ this.$.eulaLoadingDialog.show();
+ } else {
+ this.$.eulaDialog.show();
+ }
+ },
+
/**
* Event handler that is invoked when 'chrome://terms' is loaded.
*/

Powered by Google App Engine
This is Rietveld 408576698