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

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: rebase Created 8 years, 4 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 | « ash/ash_strings.grd ('k') | ash/system/network/tray_network.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..9711332e3a533946076866f82c39a3d4a3257e53 100644
--- a/ash/system/network/network_observer.h
+++ b/ash/system/network/network_observer.h
@@ -42,6 +42,11 @@ 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 attempted to toggle Wi-Fi enable/disable.
+ // NOTE: Toggling is asynchronous and subsequent calls to query the current
+ // state may return the old value.
+ virtual void OnWillToggleWifi() = 0;
};
} // namespace ash
« no previous file with comments | « ash/ash_strings.grd ('k') | ash/system/network/tray_network.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698