| 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 <algorithm> | 7 #include <algorithm> |
| 8 #include <map> | 8 #include <map> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "ash/key_event_watcher.h" | 11 #include "ash/key_event_watcher.h" |
| 12 #include "ash/login_status.h" | 12 #include "ash/login_status.h" |
| 13 #include "ash/public/cpp/shell_window_ids.h" | 13 #include "ash/public/cpp/shell_window_ids.h" |
| 14 #include "ash/root_window_controller.h" | 14 #include "ash/root_window_controller.h" |
| 15 #include "ash/session/session_controller.h" | 15 #include "ash/session/session_controller.h" |
| 16 #include "ash/shelf/wm_shelf.h" | 16 #include "ash/shelf/wm_shelf.h" |
| 17 #include "ash/shelf/wm_shelf_util.h" | |
| 18 #include "ash/shell.h" | 17 #include "ash/shell.h" |
| 19 #include "ash/shell_port.h" | 18 #include "ash/shell_port.h" |
| 20 #include "ash/strings/grit/ash_strings.h" | 19 #include "ash/strings/grit/ash_strings.h" |
| 21 #include "ash/system/audio/tray_audio.h" | 20 #include "ash/system/audio/tray_audio.h" |
| 22 #include "ash/system/bluetooth/tray_bluetooth.h" | 21 #include "ash/system/bluetooth/tray_bluetooth.h" |
| 23 #include "ash/system/brightness/tray_brightness.h" | 22 #include "ash/system/brightness/tray_brightness.h" |
| 24 #include "ash/system/cast/tray_cast.h" | 23 #include "ash/system/cast/tray_cast.h" |
| 25 #include "ash/system/date/tray_system_info.h" | 24 #include "ash/system/date/tray_system_info.h" |
| 26 #include "ash/system/enterprise/tray_enterprise.h" | 25 #include "ash/system/enterprise/tray_enterprise.h" |
| 27 #include "ash/system/ime/tray_ime_chromeos.h" | 26 #include "ash/system/ime/tray_ime_chromeos.h" |
| (...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 717 .work_area() | 716 .work_area() |
| 718 .height(); | 717 .height(); |
| 719 if (work_area_height > 0) { | 718 if (work_area_height > 0) { |
| 720 UMA_HISTOGRAM_CUSTOM_COUNTS( | 719 UMA_HISTOGRAM_CUSTOM_COUNTS( |
| 721 "Ash.SystemMenu.PercentageOfWorkAreaHeightCoveredByMenu", | 720 "Ash.SystemMenu.PercentageOfWorkAreaHeightCoveredByMenu", |
| 722 100 * bubble_view->height() / work_area_height, 1, 300, 100); | 721 100 * bubble_view->height() / work_area_height, 1, 300, 100); |
| 723 } | 722 } |
| 724 } | 723 } |
| 725 | 724 |
| 726 } // namespace ash | 725 } // namespace ash |
| OLD | NEW |