| 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/web_notification/web_notification_tray.h" | 5 #include "ash/system/web_notification/web_notification_tray.h" |
| 6 | 6 |
| 7 #include "ash/resources/vector_icons/vector_icons.h" | 7 #include "ash/resources/vector_icons/vector_icons.h" |
| 8 #include "ash/root_window_controller.h" | 8 #include "ash/root_window_controller.h" |
| 9 #include "ash/session/session_controller.h" | 9 #include "ash/session/session_controller.h" |
| 10 #include "ash/shelf/shelf.h" | 10 #include "ash/shelf/shelf.h" |
| 11 #include "ash/shelf/shelf_constants.h" | 11 #include "ash/shelf/shelf_constants.h" |
| 12 #include "ash/shell.h" | 12 #include "ash/shell.h" |
| 13 #include "ash/strings/grit/ash_strings.h" | |
| 14 #include "ash/system/status_area_widget.h" | 13 #include "ash/system/status_area_widget.h" |
| 15 #include "ash/system/tray/system_tray.h" | 14 #include "ash/system/tray/system_tray.h" |
| 16 #include "ash/system/tray/system_tray_delegate.h" | 15 #include "ash/system/tray/system_tray_delegate.h" |
| 17 #include "ash/system/tray/tray_bubble_wrapper.h" | 16 #include "ash/system/tray/tray_bubble_wrapper.h" |
| 18 #include "ash/system/tray/tray_constants.h" | 17 #include "ash/system/tray/tray_constants.h" |
| 19 #include "ash/system/tray/tray_container.h" | 18 #include "ash/system/tray/tray_container.h" |
| 20 #include "ash/system/tray/tray_utils.h" | 19 #include "ash/system/tray/tray_utils.h" |
| 21 #include "ash/system/web_notification/ash_popup_alignment_delegate.h" | 20 #include "ash/system/web_notification/ash_popup_alignment_delegate.h" |
| 22 #include "base/auto_reset.h" | 21 #include "base/auto_reset.h" |
| 23 #include "base/i18n/number_formatting.h" | 22 #include "base/i18n/number_formatting.h" |
| (...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 599 | 598 |
| 600 message_center::MessageCenterBubble* | 599 message_center::MessageCenterBubble* |
| 601 WebNotificationTray::GetMessageCenterBubbleForTest() { | 600 WebNotificationTray::GetMessageCenterBubbleForTest() { |
| 602 if (!message_center_bubble()) | 601 if (!message_center_bubble()) |
| 603 return nullptr; | 602 return nullptr; |
| 604 return static_cast<message_center::MessageCenterBubble*>( | 603 return static_cast<message_center::MessageCenterBubble*>( |
| 605 message_center_bubble()->bubble()); | 604 message_center_bubble()->bubble()); |
| 606 } | 605 } |
| 607 | 606 |
| 608 } // namespace ash | 607 } // namespace ash |
| OLD | NEW |