| 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/shelf/wm_shelf_util.h" | 8 #include "ash/common/shelf/wm_shelf_util.h" |
| 9 #include "ash/common/shell_window_ids.h" | 9 #include "ash/common/shell_window_ids.h" |
| 10 #include "ash/common/system/tray/tray_constants.h" |
| 10 #include "ash/common/wm_lookup.h" | 11 #include "ash/common/wm_lookup.h" |
| 11 #include "ash/common/wm_root_window_controller.h" | 12 #include "ash/common/wm_root_window_controller.h" |
| 12 #include "ash/common/wm_window.h" | 13 #include "ash/common/wm_window.h" |
| 13 #include "ash/root_window_controller.h" | 14 #include "ash/root_window_controller.h" |
| 14 #include "ash/shelf/shelf_layout_manager.h" | 15 #include "ash/shelf/shelf_layout_manager.h" |
| 15 #include "ash/shelf/shelf_layout_manager_observer.h" | 16 #include "ash/shelf/shelf_layout_manager_observer.h" |
| 16 #include "ash/shelf/shelf_util.h" | 17 #include "ash/shelf/shelf_util.h" |
| 17 #include "ash/shelf/shelf_widget.h" | 18 #include "ash/shelf/shelf_widget.h" |
| 18 #include "ash/shell.h" | 19 #include "ash/shell.h" |
| 19 #include "ash/system/status_area_widget.h" | 20 #include "ash/system/status_area_widget.h" |
| 20 #include "ash/system/tray/system_tray.h" | 21 #include "ash/system/tray/system_tray.h" |
| 21 #include "ash/system/tray/tray_background_view.h" | 22 #include "ash/system/tray/tray_background_view.h" |
| 22 #include "ash/system/tray/tray_bubble_wrapper.h" | 23 #include "ash/system/tray/tray_bubble_wrapper.h" |
| 23 #include "ash/system/tray/tray_constants.h" | |
| 24 #include "ash/system/tray/tray_utils.h" | 24 #include "ash/system/tray/tray_utils.h" |
| 25 #include "ash/system/web_notification/ash_popup_alignment_delegate.h" | 25 #include "ash/system/web_notification/ash_popup_alignment_delegate.h" |
| 26 #include "base/auto_reset.h" | 26 #include "base/auto_reset.h" |
| 27 #include "base/i18n/number_formatting.h" | 27 #include "base/i18n/number_formatting.h" |
| 28 #include "base/i18n/rtl.h" | 28 #include "base/i18n/rtl.h" |
| 29 #include "base/strings/utf_string_conversions.h" | 29 #include "base/strings/utf_string_conversions.h" |
| 30 #include "base/threading/thread_task_runner_handle.h" | 30 #include "base/threading/thread_task_runner_handle.h" |
| 31 #include "grit/ash_strings.h" | 31 #include "grit/ash_strings.h" |
| 32 #include "ui/base/l10n/l10n_util.h" | 32 #include "ui/base/l10n/l10n_util.h" |
| 33 #include "ui/display/display.h" | 33 #include "ui/display/display.h" |
| (...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 514 | 514 |
| 515 message_center::MessageCenterBubble* | 515 message_center::MessageCenterBubble* |
| 516 WebNotificationTray::GetMessageCenterBubbleForTest() { | 516 WebNotificationTray::GetMessageCenterBubbleForTest() { |
| 517 if (!message_center_bubble()) | 517 if (!message_center_bubble()) |
| 518 return NULL; | 518 return NULL; |
| 519 return static_cast<message_center::MessageCenterBubble*>( | 519 return static_cast<message_center::MessageCenterBubble*>( |
| 520 message_center_bubble()->bubble()); | 520 message_center_bubble()->bubble()); |
| 521 } | 521 } |
| 522 | 522 |
| 523 } // namespace ash | 523 } // namespace ash |
| OLD | NEW |