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

Side by Side Diff: trunk/src/chrome/browser/resources/chromeos/login/oobe_screen_reset.js

Issue 251373008: Revert 265905 "Fix for help-app article link on OOBE reset screen." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 /** 5 /**
6 * @fileoverview Device reset screen implementation. 6 * @fileoverview Device reset screen implementation.
7 */ 7 */
8 8
9 login.createScreen('ResetScreen', 'reset', function() { 9 login.createScreen('ResetScreen', 'reset', function() {
10 return { 10 return {
11 /** @override */ 11 /** @override */
12 decorate: function() { 12 decorate: function() {
13 $('reset-powerwash-help-link-on-rollback').addEventListener( 13 $('reset-powerwash-help-link-on-rollback').addEventListener(
14 'click', function(event) { 14 'click', function(event) {
15 chrome.send('resetOnLearnMore'); 15 chrome.send('resetOnLearnMore');
16 $('powerwash-help-link').addEventListener(
17 'click', function(event) {
18 chrome.send('resetOnLearnMore');
19 }); 16 });
20 }, 17 },
21 18
22 /** 19 /**
23 * Header text of the screen. 20 * Header text of the screen.
24 * @type {string} 21 * @type {string}
25 */ 22 */
26 get header() { 23 get header() {
27 return loadTimeData.getString('resetScreenTitle'); 24 return loadTimeData.getString('resetScreenTitle');
28 }, 25 },
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 * Sets rollback availability for the screen. 133 * Sets rollback availability for the screen.
137 * @param {bool} can_rollback. If Rollback is available on reset screen. 134 * @param {bool} can_rollback. If Rollback is available on reset screen.
138 * @private 135 * @private
139 */ 136 */
140 setRollbackAvailable_: function(show_rollback) { 137 setRollbackAvailable_: function(show_rollback) {
141 this.classList.toggle('norollback', !show_rollback); 138 this.classList.toggle('norollback', !show_rollback);
142 this.showRollback = show_rollback; 139 this.showRollback = show_rollback;
143 }, 140 },
144 }; 141 };
145 }); 142 });
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698