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 #include "ui/chromeos/network/network_icon.h" | 5 #include "ui/chromeos/network/network_icon.h" |
6 | 6 |
7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
8 #include "chromeos/network/device_state.h" | 8 #include "chromeos/network/device_state.h" |
9 #include "chromeos/network/network_connection_handler.h" | 9 #include "chromeos/network/network_connection_handler.h" |
10 #include "chromeos/network/network_state.h" | 10 #include "chromeos/network/network_state.h" |
11 #include "chromeos/network/network_state_handler.h" | 11 #include "chromeos/network/network_state_handler.h" |
12 #include "chromeos/network/portal_detector/network_portal_detector.h" | 12 #include "chromeos/network/portal_detector/network_portal_detector.h" |
13 #include "grit/ui_chromeos_resources.h" | 13 #include "grit/ui_chromeos_resources.h" |
14 #include "grit/ui_chromeos_strings.h" | 14 #include "grit/ui_chromeos_strings.h" |
15 #include "third_party/cros_system_api/dbus/service_constants.h" | 15 #include "third_party/cros_system_api/dbus/service_constants.h" |
16 #include "ui/base/l10n/l10n_util.h" | 16 #include "ui/base/l10n/l10n_util.h" |
17 #include "ui/base/resource/resource_bundle.h" | 17 #include "ui/base/resource/resource_bundle.h" |
18 #include "ui/base/webui/web_ui_util.h" | 18 #include "ui/base/webui/web_ui_util.h" |
19 #include "ui/chromeos/network/network_icon_animation.h" | 19 #include "ui/chromeos/network/network_icon_animation.h" |
20 #include "ui/chromeos/network/network_icon_animation_observer.h" | 20 #include "ui/chromeos/network/network_icon_animation_observer.h" |
21 #include "ui/gfx/canvas.h" | 21 #include "ui/gfx/canvas.h" |
22 #include "ui/gfx/geometry/rect.h" | 22 #include "ui/gfx/geometry/rect.h" |
| 23 #include "ui/gfx/geometry/size_conversions.h" |
23 #include "ui/gfx/image/image_skia_operations.h" | 24 #include "ui/gfx/image/image_skia_operations.h" |
24 #include "ui/gfx/image/image_skia_source.h" | 25 #include "ui/gfx/image/image_skia_source.h" |
25 #include "ui/gfx/size_conversions.h" | |
26 | 26 |
27 using chromeos::DeviceState; | 27 using chromeos::DeviceState; |
28 using chromeos::NetworkConnectionHandler; | 28 using chromeos::NetworkConnectionHandler; |
29 using chromeos::NetworkHandler; | 29 using chromeos::NetworkHandler; |
30 using chromeos::NetworkPortalDetector; | 30 using chromeos::NetworkPortalDetector; |
31 using chromeos::NetworkState; | 31 using chromeos::NetworkState; |
32 using chromeos::NetworkStateHandler; | 32 using chromeos::NetworkStateHandler; |
33 using chromeos::NetworkTypePattern; | 33 using chromeos::NetworkTypePattern; |
34 | 34 |
35 namespace ui { | 35 namespace ui { |
(...skipping 917 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
953 iter != networks.end(); ++iter) { | 953 iter != networks.end(); ++iter) { |
954 network_paths.insert((*iter)->path()); | 954 network_paths.insert((*iter)->path()); |
955 } | 955 } |
956 PurgeIconMap(ICON_TYPE_TRAY, network_paths); | 956 PurgeIconMap(ICON_TYPE_TRAY, network_paths); |
957 PurgeIconMap(ICON_TYPE_DEFAULT_VIEW, network_paths); | 957 PurgeIconMap(ICON_TYPE_DEFAULT_VIEW, network_paths); |
958 PurgeIconMap(ICON_TYPE_LIST, network_paths); | 958 PurgeIconMap(ICON_TYPE_LIST, network_paths); |
959 } | 959 } |
960 | 960 |
961 } // namespace network_icon | 961 } // namespace network_icon |
962 } // namespace ui | 962 } // namespace ui |
OLD | NEW |