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

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: 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') | ash/system/tray/system_tray_delegate.h » ('J')
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 6d11117485ed16cb337311acb64b7f5bbfebe27a..41d2639f3cfa2c85fb3ddabf73c2dfc0be53a479 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -451,6 +451,10 @@ class DummySystemTrayDelegate : public SystemTrayDelegate {
virtual void ShowOtherCellular() OVERRIDE {
}
+ virtual bool Connected() OVERRIDE {
+ return true;
+ }
+
virtual bool GetWifiAvailable() OVERRIDE {
return true;
}
« no previous file with comments | « no previous file | ash/system/network/tray_network.cc » ('j') | ash/system/tray/system_tray_delegate.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698