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

Side by Side Diff: chrome/browser/chromeos/status/network_menu_button.h

Issue 7520037: [cros] Network dropdown button in WebUI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move handle click Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_STATUS_NETWORK_MENU_BUTTON_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_STATUS_NETWORK_MENU_BUTTON_H_
6 #define CHROME_BROWSER_CHROMEOS_STATUS_NETWORK_MENU_BUTTON_H_ 6 #define CHROME_BROWSER_CHROMEOS_STATUS_NETWORK_MENU_BUTTON_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 // Called when the active network has possibly changed. This will remove 118 // Called when the active network has possibly changed. This will remove
119 // old network observer and add a network observer for the active network. 119 // old network observer and add a network observer for the active network.
120 void RefreshNetworkObserver(NetworkLibrary* cros); 120 void RefreshNetworkObserver(NetworkLibrary* cros);
121 121
122 // Shows 3G promo notification if needed. 122 // Shows 3G promo notification if needed.
123 void ShowOptionalMobileDataPromoNotification(NetworkLibrary* cros); 123 void ShowOptionalMobileDataPromoNotification(NetworkLibrary* cros);
124 124
125 void SetTooltipAndAccessibleName(const string16& label); 125 void SetTooltipAndAccessibleName(const string16& label);
126 126
127 // The Network menu. 127 // The Network menu.
128 scoped_ptr<NetworkMenu> network_menu_; 128 scoped_ptr<NetworkMenuView> network_menu_;
129 129
130 // Path of the Cellular device that we monitor property updates from. 130 // Path of the Cellular device that we monitor property updates from.
131 std::string cellular_device_path_; 131 std::string cellular_device_path_;
132 132
133 // The network icon and associated data. 133 // The network icon and associated data.
134 scoped_ptr<NetworkMenuIcon> network_icon_; 134 scoped_ptr<NetworkMenuIcon> network_icon_;
135 135
136 // Notification bubble for 3G promo. 136 // Notification bubble for 3G promo.
137 MessageBubble* mobile_data_bubble_; 137 MessageBubble* mobile_data_bubble_;
138 138
(...skipping 19 matching lines...) Expand all
158 158
159 // Factory for delaying showing promo notification. 159 // Factory for delaying showing promo notification.
160 ScopedRunnableMethodFactory<NetworkMenuButton> method_factory_; 160 ScopedRunnableMethodFactory<NetworkMenuButton> method_factory_;
161 161
162 DISALLOW_COPY_AND_ASSIGN(NetworkMenuButton); 162 DISALLOW_COPY_AND_ASSIGN(NetworkMenuButton);
163 }; 163 };
164 164
165 } // namespace chromeos 165 } // namespace chromeos
166 166
167 #endif // CHROME_BROWSER_CHROMEOS_STATUS_NETWORK_MENU_BUTTON_H_ 167 #endif // CHROME_BROWSER_CHROMEOS_STATUS_NETWORK_MENU_BUTTON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698