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

Unified Diff: chrome/browser/resources/chromeos/login/header_bar.js

Issue 8681029: [cros] Make disconnected icons used by network drop-down and network button consistent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: default Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/chromeos/login/header_bar.js
diff --git a/chrome/browser/resources/chromeos/login/header_bar.js b/chrome/browser/resources/chromeos/login/header_bar.js
index 3f82c60c8c3f2f135160a9072c6159ffe9bfed88..e27b2d4f2d40e37b377c28bfb4a58e08d42d1fca 100644
--- a/chrome/browser/resources/chromeos/login/header_bar.js
+++ b/chrome/browser/resources/chromeos/login/header_bar.js
@@ -84,8 +84,9 @@ cr.define('login', function() {
* @param {Integer} state Current state of the network (see NET_STATE).
* @param {string} network Name of the network.
* @param {string} reason Reason the callback was called.
+ * @param {int} last Last active network type.
*/
- HeaderBar.handleAddUser = function(state, network, reason) {
+ HeaderBar.handleAddUser = function(state, network, reason, last) {
if (state != NET_STATE.OFFLINE) {
Oobe.showSigninUI();
} else {
@@ -101,8 +102,9 @@ cr.define('login', function() {
* @param {Integer} state Current state of the network (see NET_STATE).
* @param {string} network Name of the network.
* @param {string} reason Reason the callback was called.
+ * @param {int} last Last active network type.
*/
- HeaderBar.bubbleWatchdog = function(state, network, reason) {
+ HeaderBar.bubbleWatchdog = function(state, network, reason, last) {
if (state != NET_STATE.OFFLINE) {
$('bubble').hideForElement($('add-user-button'));
chrome.send('loginRemoveNetworkStateObserver',

Powered by Google App Engine
This is Rietveld 408576698