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

Side by Side Diff: chrome/browser/resources/chromeos/login/oobe_screen_oauth_enrollment.js

Issue 2909503003: WebUI: Enable ESLint rule for missing semicolons. (Closed)
Patch Set: Undo local_ntp changes from this CL. Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 login.createScreen('OAuthEnrollmentScreen', 'oauth-enrollment', function() { 5 login.createScreen('OAuthEnrollmentScreen', 'oauth-enrollment', function() {
6 /* Code which is embedded inside of the webview. See below for details. 6 /* Code which is embedded inside of the webview. See below for details.
7 /** @const */ var INJECTED_WEBVIEW_SCRIPT = String.raw` 7 /** @const */ var INJECTED_WEBVIEW_SCRIPT = String.raw`
8 (function() { 8 (function() {
9 // <include src="../keyboard/keyboard_utils.js"> 9 // <include src="../keyboard/keyboard_utils.js">
10 keyboard.initializeKeyboardFlow(true); 10 keyboard.initializeKeyboardFlow(true);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 * The current step. This is the last value passed to showStep(). 44 * The current step. This is the last value passed to showStep().
45 */ 45 */
46 currentStep_: null, 46 currentStep_: null,
47 47
48 /** 48 /**
49 * We block esc, back button and cancel button until gaia is loaded to 49 * We block esc, back button and cancel button until gaia is loaded to
50 * prevent multiple cancel events. 50 * prevent multiple cancel events.
51 */ 51 */
52 isCancelDisabled_: null, 52 isCancelDisabled_: null,
53 53
54 get isCancelDisabled() { return this.isCancelDisabled_ }, 54 get isCancelDisabled() { return this.isCancelDisabled_; },
55 set isCancelDisabled(disabled) { 55 set isCancelDisabled(disabled) {
56 this.isCancelDisabled_ = disabled; 56 this.isCancelDisabled_ = disabled;
57 }, 57 },
58 58
59 isManualEnrollment_: undefined, 59 isManualEnrollment_: undefined,
60 60
61 /** 61 /**
62 * An element containg navigation buttons. 62 * An element containg navigation buttons.
63 */ 63 */
64 navigation_: undefined, 64 navigation_: undefined,
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 this.navigation_.closeVisible = 442 this.navigation_.closeVisible =
443 (this.currentStep_ == STEP_SIGNIN || 443 (this.currentStep_ == STEP_SIGNIN ||
444 this.currentStep_ == STEP_ERROR || 444 this.currentStep_ == STEP_ERROR ||
445 this.currentStep_ == STEP_ACTIVE_DIRECTORY_JOIN_ERROR || 445 this.currentStep_ == STEP_ACTIVE_DIRECTORY_JOIN_ERROR ||
446 this.currentStep_ == STEP_AD_JOIN) && 446 this.currentStep_ == STEP_AD_JOIN) &&
447 !this.navigation_.refreshVisible; 447 !this.navigation_.refreshVisible;
448 $('login-header-bar').updateUI_(); 448 $('login-header-bar').updateUI_();
449 } 449 }
450 }; 450 };
451 }); 451 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698