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/chromeos/power/tray_power.h" | 5 #include "ash/system/chromeos/power/tray_power.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "ash/ash_switches.h" | 9 #include "ash/ash_switches.h" |
10 #include "ash/common/accessibility_delegate.h" | 10 #include "ash/common/accessibility_delegate.h" |
11 #include "ash/shell.h" | 11 #include "ash/shell.h" |
12 #include "ash/system/chromeos/devicetype_utils.h" | 12 #include "ash/system/chromeos/devicetype_utils.h" |
13 #include "ash/system/chromeos/power/battery_notification.h" | 13 #include "ash/system/chromeos/power/battery_notification.h" |
14 #include "ash/system/chromeos/power/dual_role_notification.h" | 14 #include "ash/system/chromeos/power/dual_role_notification.h" |
15 #include "ash/system/date/date_view.h" | 15 #include "ash/system/date/date_view.h" |
16 #include "ash/system/system_notifier.h" | 16 #include "ash/system/system_notifier.h" |
17 #include "ash/system/tray/system_tray_delegate.h" | 17 #include "ash/system/tray/system_tray_delegate.h" |
18 #include "ash/system/tray/tray_constants.h" | 18 #include "ash/system/tray/tray_constants.h" |
19 #include "ash/system/tray/tray_utils.h" | 19 #include "ash/system/tray/tray_utils.h" |
20 #include "base/command_line.h" | 20 #include "base/command_line.h" |
21 #include "base/logging.h" | 21 #include "base/logging.h" |
22 #include "base/metrics/histogram.h" | 22 #include "base/metrics/histogram.h" |
23 #include "base/time/time.h" | 23 #include "base/time/time.h" |
24 #include "grit/ash_resources.h" | 24 #include "grit/ash_resources.h" |
25 #include "grit/ash_strings.h" | 25 #include "grit/ash_strings.h" |
| 26 #include "ui/accessibility/ax_enums.h" |
26 #include "ui/accessibility/ax_view_state.h" | 27 #include "ui/accessibility/ax_view_state.h" |
27 #include "ui/base/resource/resource_bundle.h" | 28 #include "ui/base/resource/resource_bundle.h" |
28 #include "ui/message_center/message_center.h" | 29 #include "ui/message_center/message_center.h" |
29 #include "ui/message_center/notification.h" | 30 #include "ui/message_center/notification.h" |
30 #include "ui/message_center/notification_delegate.h" | 31 #include "ui/message_center/notification_delegate.h" |
31 #include "ui/views/controls/image_view.h" | 32 #include "ui/views/controls/image_view.h" |
32 #include "ui/views/view.h" | 33 #include "ui/views/view.h" |
33 | 34 |
34 using message_center::MessageCenter; | 35 using message_center::MessageCenter; |
35 using message_center::Notification; | 36 using message_center::Notification; |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 } | 356 } |
356 NOTREACHED(); | 357 NOTREACHED(); |
357 return false; | 358 return false; |
358 } | 359 } |
359 | 360 |
360 void TrayPower::NotifyUsbNotificationClosedByUser() { | 361 void TrayPower::NotifyUsbNotificationClosedByUser() { |
361 usb_notification_dismissed_ = true; | 362 usb_notification_dismissed_ = true; |
362 } | 363 } |
363 | 364 |
364 } // namespace ash | 365 } // namespace ash |
OLD | NEW |