| 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/ash_switches.h" | 7 #include "ash/ash_switches.h" |
| 8 #include "ash/common/shell_window_ids.h" |
| 8 #include "ash/common/wm/shelf/wm_shelf_util.h" | 9 #include "ash/common/wm/shelf/wm_shelf_util.h" |
| 9 #include "ash/root_window_controller.h" | 10 #include "ash/root_window_controller.h" |
| 10 #include "ash/shelf/shelf_layout_manager.h" | 11 #include "ash/shelf/shelf_layout_manager.h" |
| 11 #include "ash/shelf/shelf_layout_manager_observer.h" | 12 #include "ash/shelf/shelf_layout_manager_observer.h" |
| 12 #include "ash/shelf/shelf_util.h" | 13 #include "ash/shelf/shelf_util.h" |
| 13 #include "ash/shelf/shelf_widget.h" | 14 #include "ash/shelf/shelf_widget.h" |
| 14 #include "ash/shell.h" | 15 #include "ash/shell.h" |
| 15 #include "ash/shell_window_ids.h" | |
| 16 #include "ash/system/status_area_widget.h" | 16 #include "ash/system/status_area_widget.h" |
| 17 #include "ash/system/tray/system_tray.h" | 17 #include "ash/system/tray/system_tray.h" |
| 18 #include "ash/system/tray/tray_background_view.h" | 18 #include "ash/system/tray/tray_background_view.h" |
| 19 #include "ash/system/tray/tray_bubble_wrapper.h" | 19 #include "ash/system/tray/tray_bubble_wrapper.h" |
| 20 #include "ash/system/tray/tray_constants.h" | 20 #include "ash/system/tray/tray_constants.h" |
| 21 #include "ash/system/tray/tray_utils.h" | 21 #include "ash/system/tray/tray_utils.h" |
| 22 #include "ash/system/web_notification/ash_popup_alignment_delegate.h" | 22 #include "ash/system/web_notification/ash_popup_alignment_delegate.h" |
| 23 #include "base/auto_reset.h" | 23 #include "base/auto_reset.h" |
| 24 #include "base/i18n/number_formatting.h" | 24 #include "base/i18n/number_formatting.h" |
| 25 #include "base/i18n/rtl.h" | 25 #include "base/i18n/rtl.h" |
| (...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 505 | 505 |
| 506 message_center::MessageCenterBubble* | 506 message_center::MessageCenterBubble* |
| 507 WebNotificationTray::GetMessageCenterBubbleForTest() { | 507 WebNotificationTray::GetMessageCenterBubbleForTest() { |
| 508 if (!message_center_bubble()) | 508 if (!message_center_bubble()) |
| 509 return NULL; | 509 return NULL; |
| 510 return static_cast<message_center::MessageCenterBubble*>( | 510 return static_cast<message_center::MessageCenterBubble*>( |
| 511 message_center_bubble()->bubble()); | 511 message_center_bubble()->bubble()); |
| 512 } | 512 } |
| 513 | 513 |
| 514 } // namespace ash | 514 } // namespace ash |
| OLD | NEW |