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

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

Issue 6904160: Implement new gray mock. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review nits Created 9 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 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 // for the new devices. 109 // for the new devices.
110 void RefreshNetworkDeviceObserver(NetworkLibrary* cros); 110 void RefreshNetworkDeviceObserver(NetworkLibrary* cros);
111 111
112 // Called when the active network has possibly changed. This will remove 112 // Called when the active network has possibly changed. This will remove
113 // old network observer and add a network observer for the active network. 113 // old network observer and add a network observer for the active network.
114 void RefreshNetworkObserver(NetworkLibrary* cros); 114 void RefreshNetworkObserver(NetworkLibrary* cros);
115 115
116 // Shows 3G promo notification if needed. 116 // Shows 3G promo notification if needed.
117 void ShowOptionalMobileDataPromoNotification(NetworkLibrary* cros); 117 void ShowOptionalMobileDataPromoNotification(NetworkLibrary* cros);
118 118
119 // The status area host,
120 StatusAreaHost* host_;
121
122 // Path of the Cellular device that we monitor property updates from. 119 // Path of the Cellular device that we monitor property updates from.
123 std::string cellular_device_path_; 120 std::string cellular_device_path_;
124 121
125 // The icon showing the network strength. 122 // The icon showing the network strength.
126 const SkBitmap* icon_; 123 const SkBitmap* icon_;
127 // A badge icon displayed on top of icon, in bottom-right corner. 124 // A badge icon displayed on top of icon, in bottom-right corner.
128 const SkBitmap* right_badge_; 125 const SkBitmap* right_badge_;
129 // A badge icon displayed on top of icon, in bottom-left corner. 126 // A badge icon displayed on top of icon, in bottom-left corner.
130 const SkBitmap* left_badge_; 127 const SkBitmap* left_badge_;
131 128
(...skipping 12 matching lines...) Expand all
144 141
145 // Factory for delaying showing promo notification. 142 // Factory for delaying showing promo notification.
146 ScopedRunnableMethodFactory<NetworkMenuButton> method_factory_; 143 ScopedRunnableMethodFactory<NetworkMenuButton> method_factory_;
147 144
148 DISALLOW_COPY_AND_ASSIGN(NetworkMenuButton); 145 DISALLOW_COPY_AND_ASSIGN(NetworkMenuButton);
149 }; 146 };
150 147
151 } // namespace chromeos 148 } // namespace chromeos
152 149
153 #endif // CHROME_BROWSER_CHROMEOS_STATUS_NETWORK_MENU_BUTTON_H_ 150 #endif // CHROME_BROWSER_CHROMEOS_STATUS_NETWORK_MENU_BUTTON_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/status/network_menu.cc ('k') | chrome/browser/chromeos/status/network_menu_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698