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

Side by Side Diff: chrome/browser/resources/settings/people_page/setup_pin_dialog.js

Issue 2822733002: md settings: Small changes to lock screen. (Closed)
Patch Set: Removed link related css. Created 3 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
« no previous file with comments | « chrome/browser/resources/settings/people_page/setup_pin_dialog.html ('k') | 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 6 * @fileoverview
7 * 'settings-setup-pin-dialog' is the settings page for choosing a PIN. 7 * 'settings-setup-pin-dialog' is the settings page for choosing a PIN.
8 * 8 *
9 * Example: 9 * Example:
10 * 10 *
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 this.setModes.call( 282 this.setModes.call(
283 null, 283 null,
284 [chrome.quickUnlockPrivate.QuickUnlockMode.PIN], 284 [chrome.quickUnlockPrivate.QuickUnlockMode.PIN],
285 [this.pinKeyboardValue_], 285 [this.pinKeyboardValue_],
286 onSetModesCompleted.bind(this)); 286 onSetModesCompleted.bind(this));
287 this.writeUma_(LockScreenProgress.CONFIRM_PIN); 287 this.writeUma_(LockScreenProgress.CONFIRM_PIN);
288 }, 288 },
289 289
290 /** 290 /**
291 * @private 291 * @private
292 * @param {string} problemMessage
293 * @return {boolean}
294 */
295 hasProblem_: function(problemMessage) {
296 return !!problemMessage;
297 },
298
299 /**
300 * @private
301 * @param {boolean} isConfirmStep 292 * @param {boolean} isConfirmStep
302 * @return {string} 293 * @return {string}
303 */ 294 */
304 getTitleMessage_: function(isConfirmStep) { 295 getTitleMessage_: function(isConfirmStep) {
305 return this.i18n(isConfirmStep ? 'configurePinConfirmPinTitle' : 296 return this.i18n(isConfirmStep ? 'configurePinConfirmPinTitle' :
306 'configurePinChoosePinTitle'); 297 'configurePinChoosePinTitle');
307 }, 298 },
308 299
309 /** 300 /**
310 * @private 301 * @private
311 * @param {boolean} isConfirmStep 302 * @param {boolean} isConfirmStep
312 * @return {string} 303 * @return {string}
313 */ 304 */
314 getContinueMessage_: function(isConfirmStep) { 305 getContinueMessage_: function(isConfirmStep) {
315 return this.i18n(isConfirmStep ? 'confirm' : 'configurePinContinueButton'); 306 return this.i18n(isConfirmStep ? 'confirm' : 'configurePinContinueButton');
316 }, 307 },
317 }); 308 });
318 309
319 })(); 310 })();
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/people_page/setup_pin_dialog.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698