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

Side by Side Diff: ash/system/chromeos/network/network_icon.h

Issue 12387065: Convert TrayVPN to use new NetworkState code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 9 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_ICON_H_ 5 #ifndef ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_ICON_H_
6 #define ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_ICON_H_ 6 #define ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_ICON_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/string16.h" 10 #include "base/string16.h"
(...skipping 26 matching lines...) Expand all
37 const std::string& network_type); 37 const std::string& network_type);
38 38
39 // Gets the image for a disconnected network type. 39 // Gets the image for a disconnected network type.
40 gfx::ImageSkia GetImageForDisconnectedNetwork(IconType icon_type, 40 gfx::ImageSkia GetImageForDisconnectedNetwork(IconType icon_type,
41 const std::string& network_type); 41 const std::string& network_type);
42 42
43 // Returns the label for |network| based on |icon_type|. |network| can be NULL. 43 // Returns the label for |network| based on |icon_type|. |network| can be NULL.
44 string16 GetLabelForNetwork(const chromeos::NetworkState* network, 44 string16 GetLabelForNetwork(const chromeos::NetworkState* network,
45 IconType icon_type); 45 IconType icon_type);
46 46
47 // Updates and returns the appropriate message id if the cellular network
48 // is uninitialized.
49 int GetCellularUninitializedMsg();
stevenjb 2013/03/02 03:14:45 Since network_icon handles most other network rela
50
47 } // namespace network_icon 51 } // namespace network_icon
48 } // namespace ash 52 } // namespace ash
49 53
50 #endif // ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_ICON_H_ 54 #endif // ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_ICON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698