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

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

Issue 307733003: Tiny fixes for reset screen A11y. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Uncommented back. Created 6 years, 6 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 | chrome/browser/ui/webui/chromeos/login/reset_screen_handler.cc » ('j') | 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 {
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 * @param {bool} can_rollback. If Rollback is available on reset screen. 145 * @param {bool} can_rollback. If Rollback is available on reset screen.
146 * @private 146 * @private
147 */ 147 */
148 setRollbackAvailable_: function(show_rollback) { 148 setRollbackAvailable_: function(show_rollback) {
149 this.classList.toggle('norollback', !show_rollback); 149 this.classList.toggle('norollback', !show_rollback);
150 this.showRollback = show_rollback; 150 this.showRollback = show_rollback;
151 }, 151 },
152 152
153 updateViewOnRollbackCall: function() { 153 updateViewOnRollbackCall: function() {
154 this.classList.add('revert-promise'); 154 this.classList.add('revert-promise');
155 this.announceAccessibleMessage_( 155 announceAccessibleMessage(
156 loadTimeData.getString('resetRevertSpinnerMessage')); 156 loadTimeData.getString('resetRevertSpinnerMessage'));
157 } 157 }
158 }; 158 };
159 }); 159 });
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/webui/chromeos/login/reset_screen_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698