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

Side by Side Diff: ash/system/tray/system_tray.cc

Issue 338133002: Remove unnecessary #includes in system_tray.cc and tray_user_unittest.cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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 | ash/system/user/tray_user_unittest.cc » ('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/tray/system_tray.h" 5 #include "ash/system/tray/system_tray.h"
6 6
7 #include "ash/ash_switches.h" 7 #include "ash/ash_switches.h"
8 #include "ash/metrics/user_metrics_recorder.h" 8 #include "ash/metrics/user_metrics_recorder.h"
9 #include "ash/shelf/shelf_layout_manager.h" 9 #include "ash/shelf/shelf_layout_manager.h"
10 #include "ash/shell.h" 10 #include "ash/shell.h"
11 #include "ash/shell/panel_window.h" 11 #include "ash/shell/panel_window.h"
12 #include "ash/shell_window_ids.h" 12 #include "ash/shell_window_ids.h"
13 #include "ash/system/audio/tray_audio.h" 13 #include "ash/system/audio/tray_audio.h"
14 #include "ash/system/bluetooth/tray_bluetooth.h" 14 #include "ash/system/bluetooth/tray_bluetooth.h"
15 #include "ash/system/date/tray_date.h" 15 #include "ash/system/date/tray_date.h"
16 #include "ash/system/drive/tray_drive.h" 16 #include "ash/system/drive/tray_drive.h"
17 #include "ash/system/ime/tray_ime.h" 17 #include "ash/system/ime/tray_ime.h"
18 #include "ash/system/status_area_widget.h" 18 #include "ash/system/status_area_widget.h"
19 #include "ash/system/tray/system_tray_delegate.h" 19 #include "ash/system/tray/system_tray_delegate.h"
20 #include "ash/system/tray/system_tray_item.h" 20 #include "ash/system/tray/system_tray_item.h"
21 #include "ash/system/tray/tray_bubble_wrapper.h" 21 #include "ash/system/tray/tray_bubble_wrapper.h"
22 #include "ash/system/tray/tray_constants.h" 22 #include "ash/system/tray/tray_constants.h"
23 #include "ash/system/tray_accessibility.h" 23 #include "ash/system/tray_accessibility.h"
24 #include "ash/system/tray_update.h" 24 #include "ash/system/tray_update.h"
25 #include "ash/system/user/login_status.h" 25 #include "ash/system/user/login_status.h"
26 #include "ash/system/user/tray_user.h" 26 #include "ash/system/user/tray_user.h"
27 #include "ash/system/user/tray_user_separator.h" 27 #include "ash/system/user/tray_user_separator.h"
28 #include "ash/system/web_notification/web_notification_tray.h" 28 #include "ash/system/web_notification/web_notification_tray.h"
29 #include "base/command_line.h"
30 #include "base/logging.h" 29 #include "base/logging.h"
31 #include "base/strings/utf_string_conversions.h" 30 #include "base/strings/utf_string_conversions.h"
32 #include "base/timer/timer.h" 31 #include "base/timer/timer.h"
33 #include "grit/ash_strings.h" 32 #include "grit/ash_strings.h"
34 #include "ui/aura/window_event_dispatcher.h" 33 #include "ui/aura/window_event_dispatcher.h"
35 #include "ui/base/l10n/l10n_util.h" 34 #include "ui/base/l10n/l10n_util.h"
36 #include "ui/compositor/layer.h" 35 #include "ui/compositor/layer.h"
37 #include "ui/events/event_constants.h" 36 #include "ui/events/event_constants.h"
38 #include "ui/gfx/canvas.h" 37 #include "ui/gfx/canvas.h"
39 #include "ui/gfx/screen.h" 38 #include "ui/gfx/screen.h"
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 system_bubble_.reset(); 707 system_bubble_.reset();
709 // When closing a system bubble with the alternate shelf layout, we need to 708 // When closing a system bubble with the alternate shelf layout, we need to
710 // turn off the active tinting of the shelf. 709 // turn off the active tinting of the shelf.
711 if (full_system_tray_menu_) { 710 if (full_system_tray_menu_) {
712 SetDrawBackgroundAsActive(false); 711 SetDrawBackgroundAsActive(false);
713 full_system_tray_menu_ = false; 712 full_system_tray_menu_ = false;
714 } 713 }
715 } 714 }
716 715
717 } // namespace ash 716 } // namespace ash
OLDNEW
« no previous file with comments | « no previous file | ash/system/user/tray_user_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698