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

Unified Diff: ash/shell.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: Fix, sync. 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
« no previous file with comments | « no previous file | ash/system/network/tray_network.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index e2f8d2647fc58cfc65f70d29a01e82aefde23dfb..4731c74c939b8421cdb0f63305c6dfb268695dc5 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -451,6 +451,10 @@ class DummySystemTrayDelegate : public SystemTrayDelegate {
virtual void ShowOtherCellular() OVERRIDE {
}
+ virtual bool IsNetworkConnected() OVERRIDE {
+ return true;
+ }
+
virtual bool GetWifiAvailable() OVERRIDE {
return true;
}
« no previous file with comments | « no previous file | ash/system/network/tray_network.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698