| 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/tray/system_tray.h" | 5 #include "ash/system/tray/system_tray.h" |
| 6 | 6 |
| 7 #include "ash/ash_switches.h" | 7 #include "ash/common/ash_switches.h" |
| 8 #include "ash/common/shelf/wm_shelf_util.h" | 8 #include "ash/common/shelf/wm_shelf_util.h" |
| 9 #include "ash/common/shell_window_ids.h" | 9 #include "ash/common/shell_window_ids.h" |
| 10 #include "ash/common/system/date/tray_date.h" | 10 #include "ash/common/system/date/tray_date.h" |
| 11 #include "ash/common/system/tray/system_tray_delegate.h" | 11 #include "ash/common/system/tray/system_tray_delegate.h" |
| 12 #include "ash/common/system/tray/system_tray_item.h" | 12 #include "ash/common/system/tray/system_tray_item.h" |
| 13 #include "ash/common/system/tray/tray_constants.h" | 13 #include "ash/common/system/tray/tray_constants.h" |
| 14 #include "ash/common/system/update/tray_update.h" | 14 #include "ash/common/system/update/tray_update.h" |
| 15 #include "ash/common/wm_shell.h" | 15 #include "ash/common/wm_shell.h" |
| 16 #include "ash/metrics/user_metrics_recorder.h" | 16 #include "ash/metrics/user_metrics_recorder.h" |
| 17 #include "ash/shelf/shelf_layout_manager.h" | 17 #include "ash/shelf/shelf_layout_manager.h" |
| (...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 760 .work_area() | 760 .work_area() |
| 761 .height(); | 761 .height(); |
| 762 if (work_area_height > 0) { | 762 if (work_area_height > 0) { |
| 763 UMA_HISTOGRAM_CUSTOM_COUNTS( | 763 UMA_HISTOGRAM_CUSTOM_COUNTS( |
| 764 "Ash.SystemMenu.PercentageOfWorkAreaHeightCoveredByMenu", | 764 "Ash.SystemMenu.PercentageOfWorkAreaHeightCoveredByMenu", |
| 765 100 * bubble_view->height() / work_area_height, 1, 300, 100); | 765 100 * bubble_view->height() / work_area_height, 1, 300, 100); |
| 766 } | 766 } |
| 767 } | 767 } |
| 768 | 768 |
| 769 } // namespace ash | 769 } // namespace ash |
| OLD | NEW |