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 "ash/system/network/tray_network.h" | 5 #include "ash/system/chromeos/network/tray_network.h" |
6 | 6 |
7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
8 #include "ash/shell_window_ids.h" | 8 #include "ash/shell_window_ids.h" |
9 #include "ash/system/tray/system_tray.h" | 9 #include "ash/system/tray/system_tray.h" |
10 #include "ash/system/tray/system_tray_delegate.h" | 10 #include "ash/system/tray/system_tray_delegate.h" |
11 #include "ash/system/tray/tray_constants.h" | 11 #include "ash/system/tray/tray_constants.h" |
12 #include "ash/system/tray/tray_details_view.h" | 12 #include "ash/system/tray/tray_details_view.h" |
13 #include "ash/system/tray/tray_item_more.h" | 13 #include "ash/system/tray/tray_item_more.h" |
14 #include "ash/system/tray/tray_item_view.h" | 14 #include "ash/system/tray/tray_item_view.h" |
15 #include "ash/system/tray/tray_notification_view.h" | 15 #include "ash/system/tray/tray_notification_view.h" |
(...skipping 934 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
950 | 950 |
951 void TrayNetwork::LinkClicked(MessageType message_type, int link_id) { | 951 void TrayNetwork::LinkClicked(MessageType message_type, int link_id) { |
952 tray::NetworkMessages::MessageMap::const_iterator iter = | 952 tray::NetworkMessages::MessageMap::const_iterator iter = |
953 messages()->messages().find(message_type); | 953 messages()->messages().find(message_type); |
954 if (iter != messages()->messages().end() && iter->second.delegate) | 954 if (iter != messages()->messages().end() && iter->second.delegate) |
955 iter->second.delegate->NotificationLinkClicked(link_id); | 955 iter->second.delegate->NotificationLinkClicked(link_id); |
956 } | 956 } |
957 | 957 |
958 } // namespace internal | 958 } // namespace internal |
959 } // namespace ash | 959 } // namespace ash |
OLD | NEW |