| 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/common/system/tray/system_tray_delegate.h" |
| 11 #include "ash/shell.h" | 12 #include "ash/shell.h" |
| 12 #include "ash/system/chromeos/devicetype_utils.h" | 13 #include "ash/system/chromeos/devicetype_utils.h" |
| 13 #include "ash/system/chromeos/power/battery_notification.h" | 14 #include "ash/system/chromeos/power/battery_notification.h" |
| 14 #include "ash/system/chromeos/power/dual_role_notification.h" | 15 #include "ash/system/chromeos/power/dual_role_notification.h" |
| 15 #include "ash/system/date/date_view.h" | 16 #include "ash/system/date/date_view.h" |
| 16 #include "ash/system/system_notifier.h" | 17 #include "ash/system/system_notifier.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_view_state.h" | 26 #include "ui/accessibility/ax_view_state.h" |
| 27 #include "ui/base/resource/resource_bundle.h" | 27 #include "ui/base/resource/resource_bundle.h" |
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 } | 355 } |
| 356 NOTREACHED(); | 356 NOTREACHED(); |
| 357 return false; | 357 return false; |
| 358 } | 358 } |
| 359 | 359 |
| 360 void TrayPower::NotifyUsbNotificationClosedByUser() { | 360 void TrayPower::NotifyUsbNotificationClosedByUser() { |
| 361 usb_notification_dismissed_ = true; | 361 usb_notification_dismissed_ = true; |
| 362 } | 362 } |
| 363 | 363 |
| 364 } // namespace ash | 364 } // namespace ash |
| OLD | NEW |