OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/tiles/tiles_default_view.h" | 5 #include "ash/system/tiles/tiles_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/vector_icons/vector_icons.h" | 11 #include "ash/resources/vector_icons/vector_icons.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/tray/system_menu_button.h" | 14 #include "ash/system/tray/system_menu_button.h" |
15 #include "ash/system/tray/system_tray.h" | 15 #include "ash/system/tray/system_tray.h" |
16 #include "ash/system/tray/system_tray_controller.h" | 16 #include "ash/system/tray/system_tray_controller.h" |
17 #include "ash/system/tray/system_tray_delegate.h" | 17 #include "ash/system/tray/system_tray_delegate.h" |
18 #include "ash/system/tray/system_tray_item.h" | 18 #include "ash/system/tray/system_tray_item.h" |
19 #include "ash/system/tray/tray_constants.h" | 19 #include "ash/system/tray/tray_constants.h" |
20 #include "ash/system/tray/tray_popup_utils.h" | 20 #include "ash/system/tray/tray_popup_utils.h" |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 views::View* TilesDefaultView::GetHelpButtonView() const { | 132 views::View* TilesDefaultView::GetHelpButtonView() const { |
133 return help_button_; | 133 return help_button_; |
134 } | 134 } |
135 | 135 |
136 const views::CustomButton* TilesDefaultView::GetShutdownButtonViewForTest() | 136 const views::CustomButton* TilesDefaultView::GetShutdownButtonViewForTest() |
137 const { | 137 const { |
138 return power_button_; | 138 return power_button_; |
139 } | 139 } |
140 | 140 |
141 } // namespace ash | 141 } // namespace ash |
OLD | NEW |