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

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

Issue 11190022: [cros] Update wallpaper when displaying Gaia frame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes Created 8 years, 2 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
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 Login UI header bar implementation. 6 * @fileoverview Login UI header bar implementation.
7 */ 7 */
8 8
9 cr.define('login', function() { 9 cr.define('login', function() {
10 // Network state constants. 10 // Network state constants.
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 button.disabled = value; 69 button.disabled = value;
70 } 70 }
71 }, 71 },
72 72
73 /** 73 /**
74 * Cancel add user button click handler. 74 * Cancel add user button click handler.
75 * @private 75 * @private
76 */ 76 */
77 handleCancelAddUserClick_: function(e) { 77 handleCancelAddUserClick_: function(e) {
78 $('login-header-bar').signinUIActive = false; 78 $('login-header-bar').signinUIActive = false;
79 $('pod-row').loadLastWallpaper();
79 Oobe.showScreen({id: SCREEN_ACCOUNT_PICKER}); 80 Oobe.showScreen({id: SCREEN_ACCOUNT_PICKER});
80 Oobe.resetSigninUI(true); 81 Oobe.resetSigninUI(true);
81 }, 82 },
82 83
83 /** 84 /**
84 * Guest button click handler. 85 * Guest button click handler.
85 * @private 86 * @private
86 */ 87 */
87 handleGuestClick_: function(e) { 88 handleGuestClick_: function(e) {
88 Oobe.disableSigninUI(); 89 Oobe.disableSigninUI();
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 $('bubble').hideForElement($('add-user-button')); 167 $('bubble').hideForElement($('add-user-button'));
167 chrome.send('loginRemoveNetworkStateObserver', 168 chrome.send('loginRemoveNetworkStateObserver',
168 ['login.HeaderBar.bubbleWatchdog']); 169 ['login.HeaderBar.bubbleWatchdog']);
169 } 170 }
170 }; 171 };
171 172
172 return { 173 return {
173 HeaderBar: HeaderBar 174 HeaderBar: HeaderBar
174 }; 175 };
175 }); 176 });
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/webui_login_display.cc ('k') | chrome/browser/resources/chromeos/login/user_pod_row.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698