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

Unified Diff: chrome/browser/chromeos/system/ash_system_tray_delegate.cc

Issue 10391182: Fixed proxy settings button behaviour: it becomes disabled when device isn't connected to any netwo… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/system/ash_system_tray_delegate.cc
diff --git a/chrome/browser/chromeos/system/ash_system_tray_delegate.cc b/chrome/browser/chromeos/system/ash_system_tray_delegate.cc
index ceefff67f41b68ba67913d7aca9a6172204df8f3..ff5bdb9cbe0944199053b69e3236cbc3b12f081e 100644
--- a/chrome/browser/chromeos/system/ash_system_tray_delegate.cc
+++ b/chrome/browser/chromeos/system/ash_system_tray_delegate.cc
@@ -650,6 +650,10 @@ class SystemTrayDelegate : public ash::SystemTrayDelegate,
network_menu_->ShowOtherCellular();
}
+ virtual bool Connected() OVERRIDE {
+ return CrosLibrary::Get()->GetNetworkLibrary()->Connected();
+ }
+
virtual bool GetWifiAvailable() OVERRIDE {
return CrosLibrary::Get()->GetNetworkLibrary()->wifi_available();
}
« ash/system/tray/system_tray_delegate.h ('K') | « ash/system/tray/system_tray_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698