| 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/tray_accessibility.h" | 5 #include "ash/system/tray_accessibility.h" |
| 6 | 6 |
| 7 #include <memory> |
| 8 #include <utility> |
| 9 |
| 7 #include "ash/accessibility_delegate.h" | 10 #include "ash/accessibility_delegate.h" |
| 8 #include "ash/accessibility_types.h" | 11 #include "ash/accessibility_types.h" |
| 9 #include "ash/resources/vector_icons/vector_icons.h" | 12 #include "ash/resources/vector_icons/vector_icons.h" |
| 10 #include "ash/session/session_controller.h" | 13 #include "ash/session/session_controller.h" |
| 11 #include "ash/session/session_state_delegate.h" | |
| 12 #include "ash/shell.h" | 14 #include "ash/shell.h" |
| 13 #include "ash/shell_port.h" | 15 #include "ash/shell_port.h" |
| 14 #include "ash/strings/grit/ash_strings.h" | 16 #include "ash/strings/grit/ash_strings.h" |
| 15 #include "ash/system/system_notifier.h" | 17 #include "ash/system/system_notifier.h" |
| 16 #include "ash/system/tray/hover_highlight_view.h" | 18 #include "ash/system/tray/hover_highlight_view.h" |
| 17 #include "ash/system/tray/system_tray.h" | 19 #include "ash/system/tray/system_tray.h" |
| 18 #include "ash/system/tray/system_tray_controller.h" | 20 #include "ash/system/tray/system_tray_controller.h" |
| 19 #include "ash/system/tray/system_tray_notifier.h" | 21 #include "ash/system/tray/system_tray_notifier.h" |
| 20 #include "ash/system/tray/tray_constants.h" | 22 #include "ash/system/tray/tray_constants.h" |
| 21 #include "ash/system/tray/tray_details_view.h" | 23 #include "ash/system/tray/tray_details_view.h" |
| (...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 gfx::Image(gfx::CreateVectorIcon(GetNotificationIcon(being_enabled), | 480 gfx::Image(gfx::CreateVectorIcon(GetNotificationIcon(being_enabled), |
| 479 kMenuIconSize, kMenuIconColor)), | 481 kMenuIconSize, kMenuIconColor)), |
| 480 base::string16(), GURL(), | 482 base::string16(), GURL(), |
| 481 message_center::NotifierId(message_center::NotifierId::APPLICATION, | 483 message_center::NotifierId(message_center::NotifierId::APPLICATION, |
| 482 system_notifier::kNotifierAccessibility), | 484 system_notifier::kNotifierAccessibility), |
| 483 message_center::RichNotificationData(), nullptr); | 485 message_center::RichNotificationData(), nullptr); |
| 484 message_center->AddNotification(std::move(notification)); | 486 message_center->AddNotification(std::move(notification)); |
| 485 } | 487 } |
| 486 | 488 |
| 487 } // namespace ash | 489 } // namespace ash |
| OLD | NEW |