OLD | NEW |
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 UI_CHROMEOS_NETWORK_NETWORK_ICON_H_ | 5 #ifndef ASH_COMMON_SYSTEM_CHROMEOS_NETWORK_NETWORK_ICON_H_ |
6 #define UI_CHROMEOS_NETWORK_NETWORK_ICON_H_ | 6 #define ASH_COMMON_SYSTEM_CHROMEOS_NETWORK_NETWORK_ICON_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
11 #include "ui/chromeos/ui_chromeos_export.h" | 11 #include "ui/chromeos/ui_chromeos_export.h" |
12 #include "ui/gfx/image/image_skia.h" | 12 #include "ui/gfx/image/image_skia.h" |
13 | 13 |
14 namespace chromeos { | 14 namespace chromeos { |
15 class NetworkState; | 15 class NetworkState; |
16 } | 16 } |
17 | 17 |
18 namespace ui { | 18 namespace ash { |
19 namespace network_icon { | 19 namespace network_icon { |
20 | 20 |
21 class AnimationObserver; | 21 class AnimationObserver; |
22 | 22 |
23 // Type of icon which dictates color theme and VPN badging | 23 // Type of icon which dictates color theme and VPN badging |
24 enum IconType { | 24 enum IconType { |
25 ICON_TYPE_TRAY, // light icons with VPN badges | 25 ICON_TYPE_TRAY, // light icons with VPN badges |
26 ICON_TYPE_DEFAULT_VIEW, // dark icons with VPN badges | 26 ICON_TYPE_DEFAULT_VIEW, // dark icons with VPN badges |
27 ICON_TYPE_LIST, // dark icons without VPN badges | 27 ICON_TYPE_LIST, // dark icons without VPN badges |
28 }; | 28 }; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 gfx::ImageSkia* image, | 66 gfx::ImageSkia* image, |
67 base::string16* label, | 67 base::string16* label, |
68 bool* animating); | 68 bool* animating); |
69 | 69 |
70 // Called when the list of networks changes. Retreives the list of networks | 70 // Called when the list of networks changes. Retreives the list of networks |
71 // from the global NetworkStateHandler instance and removes cached entries | 71 // from the global NetworkStateHandler instance and removes cached entries |
72 // that are no longer in the list. | 72 // that are no longer in the list. |
73 UI_CHROMEOS_EXPORT void PurgeNetworkIconCache(); | 73 UI_CHROMEOS_EXPORT void PurgeNetworkIconCache(); |
74 | 74 |
75 } // namespace network_icon | 75 } // namespace network_icon |
76 } // namespace ui | 76 } // namespace ash |
77 | 77 |
78 #endif // UI_CHROMEOS_NETWORK_NETWORK_ICON_H_ | 78 #endif // ASH_COMMON_SYSTEM_CHROMEOS_NETWORK_NETWORK_ICON_H_ |
OLD | NEW |