OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/date/date_default_view.h" | 5 #include "ash/system/date/date_default_view.h" |
6 | 6 |
7 #include "ash/common/metrics/user_metrics_action.h" | |
8 #include "ash/common/session/session_state_delegate.h" | 7 #include "ash/common/session/session_state_delegate.h" |
9 #include "ash/common/shutdown_controller.h" | 8 #include "ash/common/shutdown_controller.h" |
10 #include "ash/common/wm_shell.h" | 9 #include "ash/common/wm_shell.h" |
| 10 #include "ash/metrics/user_metrics_action.h" |
11 #include "ash/resources/grit/ash_resources.h" | 11 #include "ash/resources/grit/ash_resources.h" |
12 #include "ash/shell.h" | 12 #include "ash/shell.h" |
13 #include "ash/strings/grit/ash_strings.h" | 13 #include "ash/strings/grit/ash_strings.h" |
14 #include "ash/system/date/date_view.h" | 14 #include "ash/system/date/date_view.h" |
15 #include "ash/system/tray/special_popup_row.h" | 15 #include "ash/system/tray/special_popup_row.h" |
16 #include "ash/system/tray/system_tray.h" | 16 #include "ash/system/tray/system_tray.h" |
17 #include "ash/system/tray/system_tray_controller.h" | 17 #include "ash/system/tray/system_tray_controller.h" |
18 #include "ash/system/tray/tray_constants.h" | 18 #include "ash/system/tray/tray_constants.h" |
19 #include "ash/system/tray/tray_popup_header_button.h" | 19 #include "ash/system/tray/tray_popup_header_button.h" |
20 #include "ash/wm/lock_state_controller.h" | 20 #include "ash/wm/lock_state_controller.h" |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 chromeos::DBusThreadManager::Get() | 137 chromeos::DBusThreadManager::Get() |
138 ->GetSessionManagerClient() | 138 ->GetSessionManagerClient() |
139 ->RequestLockScreen(); | 139 ->RequestLockScreen(); |
140 } else { | 140 } else { |
141 NOTREACHED(); | 141 NOTREACHED(); |
142 } | 142 } |
143 date_view_->CloseSystemBubble(); | 143 date_view_->CloseSystemBubble(); |
144 } | 144 } |
145 | 145 |
146 } // namespace ash | 146 } // namespace ash |
OLD | NEW |