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

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

Issue 1100623003: ChromeOS Gaia: Polishing Offline UI and Password changed UI according to specs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/chromeos/login/offline_gaia.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 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 5
6 Polymer('offline-gaia', (function() { 6 Polymer('offline-gaia', (function() {
7 return { 7 return {
8 onTransitionEnd: function() { 8 onTransitionEnd: function() {
9 this.focus(); 9 this.focus();
10 }, 10 },
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 } 68 }
69 }, 69 },
70 70
71 onBack: function() { 71 onBack: function() {
72 this.switchToEmailCard(); 72 this.switchToEmailCard();
73 }, 73 },
74 74
75 switchToEmailCard() { 75 switchToEmailCard() {
76 this.$.passwordInput.inputValue = ''; 76 this.$.passwordInput.inputValue = '';
77 this.$.passwordInput.setValid(true); 77 this.$.passwordInput.setValid(true);
78 this.$.emailInput.setValid(true);
78 this.$.backButton.hidden = true; 79 this.$.backButton.hidden = true;
79 this.$.animatedPages.selected = 0; 80 this.$.animatedPages.selected = 0;
80 }, 81 },
81 82
82 switchToPasswordCard(email) { 83 switchToPasswordCard(email) {
83 this.$.emailInput.inputValue = email; 84 this.$.emailInput.inputValue = email;
84 this.$.passwordHeader.email = email; 85 this.$.passwordHeader.email = email;
85 this.$.backButton.hidden = false; 86 this.$.backButton.hidden = false;
86 this.$.animatedPages.selected = 1; 87 this.$.animatedPages.selected = 1;
87 } 88 }
88 }; 89 };
89 })()); 90 })());
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/login/offline_gaia.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698