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

Unified Diff: ash/system/network/network_observer.h

Issue 10824142: Support toggling Wi-Fi with keyboard shortcut. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change the key conbination and messages for popup Created 8 years, 5 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: ash/system/network/network_observer.h
diff --git a/ash/system/network/network_observer.h b/ash/system/network/network_observer.h
index f55a71adc1ea5912a5b651a48a124f10474e0fc3..0b5b550c5f77c45e7f8c343aa72cc1fbdf4f9680 100644
--- a/ash/system/network/network_observer.h
+++ b/ash/system/network/network_observer.h
@@ -42,6 +42,10 @@ class NetworkObserver {
const string16& link_text) = 0;
// Clears the error notification for |error_type|.
virtual void ClearNetworkError(ErrorType error_type) = 0;
+
+ // Called when the user toggled Wi-Fi enable/disable.
+ // |wifi_enabled| is the new state of Wi-Fi after it is toggled.
+ virtual void OnWifiToggled(bool wifi_enabled) = 0;
};
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698