| 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/common/system/tray/system_tray.h" | 5 #include "ash/common/system/tray/system_tray.h" |
| 6 | 6 |
| 7 #include "ash/common/ash_switches.h" | |
| 8 #include "ash/common/login_status.h" | 7 #include "ash/common/login_status.h" |
| 9 #include "ash/common/material_design/material_design_controller.h" | 8 #include "ash/common/material_design/material_design_controller.h" |
| 10 #include "ash/common/session/session_state_delegate.h" | 9 #include "ash/common/session/session_state_delegate.h" |
| 11 #include "ash/common/shelf/wm_shelf.h" | 10 #include "ash/common/shelf/wm_shelf.h" |
| 12 #include "ash/common/shelf/wm_shelf_util.h" | 11 #include "ash/common/shelf/wm_shelf_util.h" |
| 13 #include "ash/common/shell_window_ids.h" | 12 #include "ash/common/shell_window_ids.h" |
| 14 #include "ash/common/system/cast/tray_cast.h" | 13 #include "ash/common/system/cast/tray_cast.h" |
| 15 #include "ash/common/system/date/tray_date.h" | 14 #include "ash/common/system/date/tray_date.h" |
| 16 #include "ash/common/system/tray/system_tray_delegate.h" | 15 #include "ash/common/system/tray/system_tray_delegate.h" |
| 17 #include "ash/common/system/tray/system_tray_item.h" | 16 #include "ash/common/system/tray/system_tray_item.h" |
| (...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 784 .work_area() | 783 .work_area() |
| 785 .height(); | 784 .height(); |
| 786 if (work_area_height > 0) { | 785 if (work_area_height > 0) { |
| 787 UMA_HISTOGRAM_CUSTOM_COUNTS( | 786 UMA_HISTOGRAM_CUSTOM_COUNTS( |
| 788 "Ash.SystemMenu.PercentageOfWorkAreaHeightCoveredByMenu", | 787 "Ash.SystemMenu.PercentageOfWorkAreaHeightCoveredByMenu", |
| 789 100 * bubble_view->height() / work_area_height, 1, 300, 100); | 788 100 * bubble_view->height() / work_area_height, 1, 300, 100); |
| 790 } | 789 } |
| 791 } | 790 } |
| 792 | 791 |
| 793 } // namespace ash | 792 } // namespace ash |
| OLD | NEW |