Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(405)

Side by Side Diff: ash/system/web_notification/web_notification_tray.cc

Issue 1974023002: Remove base/thread_task_runner_handle.h dummy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rm duplicate Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | base/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/root_window_controller.h" 8 #include "ash/root_window_controller.h"
9 #include "ash/shelf/shelf_layout_manager.h" 9 #include "ash/shelf/shelf_layout_manager.h"
10 #include "ash/shelf/shelf_layout_manager_observer.h" 10 #include "ash/shelf/shelf_layout_manager_observer.h"
11 #include "ash/shelf/shelf_util.h" 11 #include "ash/shelf/shelf_util.h"
12 #include "ash/shelf/shelf_widget.h" 12 #include "ash/shelf/shelf_widget.h"
13 #include "ash/shell.h" 13 #include "ash/shell.h"
14 #include "ash/shell_window_ids.h" 14 #include "ash/shell_window_ids.h"
15 #include "ash/system/status_area_widget.h" 15 #include "ash/system/status_area_widget.h"
16 #include "ash/system/tray/system_tray.h" 16 #include "ash/system/tray/system_tray.h"
17 #include "ash/system/tray/tray_background_view.h" 17 #include "ash/system/tray/tray_background_view.h"
18 #include "ash/system/tray/tray_bubble_wrapper.h" 18 #include "ash/system/tray/tray_bubble_wrapper.h"
19 #include "ash/system/tray/tray_constants.h" 19 #include "ash/system/tray/tray_constants.h"
20 #include "ash/system/tray/tray_utils.h" 20 #include "ash/system/tray/tray_utils.h"
21 #include "ash/system/web_notification/ash_popup_alignment_delegate.h" 21 #include "ash/system/web_notification/ash_popup_alignment_delegate.h"
22 #include "ash/wm/common/shelf/wm_shelf_util.h" 22 #include "ash/wm/common/shelf/wm_shelf_util.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"
26 #include "base/strings/utf_string_conversions.h" 26 #include "base/strings/utf_string_conversions.h"
27 #include "base/thread_task_runner_handle.h"
28 #include "base/threading/thread_task_runner_handle.h" 27 #include "base/threading/thread_task_runner_handle.h"
29 #include "grit/ash_resources.h" 28 #include "grit/ash_resources.h"
30 #include "grit/ash_strings.h" 29 #include "grit/ash_strings.h"
31 #include "ui/aura/window.h" 30 #include "ui/aura/window.h"
32 #include "ui/aura/window_event_dispatcher.h" 31 #include "ui/aura/window_event_dispatcher.h"
33 #include "ui/base/l10n/l10n_util.h" 32 #include "ui/base/l10n/l10n_util.h"
34 #include "ui/base/resource/resource_bundle.h" 33 #include "ui/base/resource/resource_bundle.h"
35 #include "ui/display/screen.h" 34 #include "ui/display/screen.h"
36 #include "ui/message_center/message_center_style.h" 35 #include "ui/message_center/message_center_style.h"
37 #include "ui/message_center/message_center_tray_delegate.h" 36 #include "ui/message_center/message_center_tray_delegate.h"
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 503
505 message_center::MessageCenterBubble* 504 message_center::MessageCenterBubble*
506 WebNotificationTray::GetMessageCenterBubbleForTest() { 505 WebNotificationTray::GetMessageCenterBubbleForTest() {
507 if (!message_center_bubble()) 506 if (!message_center_bubble())
508 return NULL; 507 return NULL;
509 return static_cast<message_center::MessageCenterBubble*>( 508 return static_cast<message_center::MessageCenterBubble*>(
510 message_center_bubble()->bubble()); 509 message_center_bubble()->bubble());
511 } 510 }
512 511
513 } // namespace ash 512 } // namespace ash
OLDNEW
« no previous file with comments | « no previous file | base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698