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 "chrome/browser/ui/ash/system_tray_client.h" | 5 #include "chrome/browser/ui/ash/system_tray_client.h" |
6 | 6 |
7 #include "ash/login_status.h" | 7 #include "ash/login_status.h" |
8 #include "ash/public/cpp/shell_window_ids.h" | 8 #include "ash/public/cpp/shell_window_ids.h" |
9 #include "ash/public/interfaces/constants.mojom.h" | 9 #include "ash/public/interfaces/constants.mojom.h" |
10 #include "ash/shell.h" | 10 #include "ash/shell.h" |
11 #include "ash/wm_shell.h" | |
12 #include "base/feature_list.h" | 11 #include "base/feature_list.h" |
13 #include "base/logging.h" | 12 #include "base/logging.h" |
14 #include "base/metrics/user_metrics.h" | 13 #include "base/metrics/user_metrics.h" |
15 #include "chrome/browser/browser_process.h" | 14 #include "chrome/browser/browser_process.h" |
16 #include "chrome/browser/browser_process_platform_part.h" | 15 #include "chrome/browser/browser_process_platform_part.h" |
17 #include "chrome/browser/chrome_notification_types.h" | 16 #include "chrome/browser/chrome_notification_types.h" |
18 #include "chrome/browser/chromeos/accessibility/accessibility_util.h" | 17 #include "chrome/browser/chromeos/accessibility/accessibility_util.h" |
19 #include "chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.h" | 18 #include "chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.h" |
20 #include "chrome/browser/chromeos/login/ui/login_display_host.h" | 19 #include "chrome/browser/chromeos/login/ui/login_display_host.h" |
21 #include "chrome/browser/chromeos/options/network_config_view.h" | 20 #include "chrome/browser/chromeos/options/network_config_view.h" |
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 chromeos::system::SystemClock* clock) { | 399 chromeos::system::SystemClock* clock) { |
401 system_tray_->SetUse24HourClock(clock->ShouldUse24HourClock()); | 400 system_tray_->SetUse24HourClock(clock->ShouldUse24HourClock()); |
402 } | 401 } |
403 | 402 |
404 void SystemTrayClient::Observe(int type, | 403 void SystemTrayClient::Observe(int type, |
405 const content::NotificationSource& source, | 404 const content::NotificationSource& source, |
406 const content::NotificationDetails& details) { | 405 const content::NotificationDetails& details) { |
407 DCHECK_EQ(chrome::NOTIFICATION_UPGRADE_RECOMMENDED, type); | 406 DCHECK_EQ(chrome::NOTIFICATION_UPGRADE_RECOMMENDED, type); |
408 HandleUpdateAvailable(); | 407 HandleUpdateAvailable(); |
409 } | 408 } |
OLD | NEW |