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

Unified Diff: ash/system/chromeos/network/network_state_list_detailed_view.h

Issue 14137017: Add TechnologyState to NetworkStateHandler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/chromeos/network/network_state_list_detailed_view.h
diff --git a/ash/system/chromeos/network/network_state_list_detailed_view.h b/ash/system/chromeos/network/network_state_list_detailed_view.h
index 212f699afc046cd61ffdebf460c52a2cc3a2f704..80f7ad534a61100c7694c50c8c3760f1c46aa1e1 100644
--- a/ash/system/chromeos/network/network_state_list_detailed_view.h
+++ b/ash/system/chromeos/network/network_state_list_detailed_view.h
@@ -84,11 +84,14 @@ class NetworkStateListDetailedView : public NetworkDetailedView,
// Update UI components.
void UpdateHeaderButtons();
+ void UpdateTechnologyButton(TrayPopupHeaderButton* button,
+ const std::string& technology);
void UpdateNetworks(const NetworkStateList& networks);
void UpdateNetworkList();
- bool CreateOrUpdateInfoLabel(
- int index, const string16& text, views::Label** label);
+ bool CreateOrUpdateInfoLabel(int index,
+ const string16& text,
+ views::Label** label);
bool UpdateNetworkChild(int index, const NetworkInfo* info);
bool OrderChild(views::View* view, int index);
bool UpdateNetworkListEntries(std::set<std::string>* new_service_paths);
@@ -107,6 +110,9 @@ class NetworkStateListDetailedView : public NetworkDetailedView,
// Handle click (connect) action
void ConnectToNetwork(const std::string& service_path);
+ // Handle toggile mobile action
+ void ToggleMobile();
+
// Type of list (all networks or vpn)
ListType list_type_;

Powered by Google App Engine
This is Rietveld 408576698