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/common/login_status.h" | 7 #include "ash/login_status.h" |
8 #include "ash/common/wm_shell.h" | |
9 #include "ash/public/cpp/shell_window_ids.h" | 8 #include "ash/public/cpp/shell_window_ids.h" |
10 #include "ash/public/interfaces/constants.mojom.h" | 9 #include "ash/public/interfaces/constants.mojom.h" |
11 #include "ash/shell.h" | 10 #include "ash/shell.h" |
| 11 #include "ash/wm_shell.h" |
12 #include "base/feature_list.h" | 12 #include "base/feature_list.h" |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
14 #include "chrome/browser/browser_process.h" | 14 #include "chrome/browser/browser_process.h" |
15 #include "chrome/browser/browser_process_platform_part.h" | 15 #include "chrome/browser/browser_process_platform_part.h" |
16 #include "chrome/browser/chrome_notification_types.h" | 16 #include "chrome/browser/chrome_notification_types.h" |
17 #include "chrome/browser/chromeos/accessibility/accessibility_util.h" | 17 #include "chrome/browser/chromeos/accessibility/accessibility_util.h" |
18 #include "chrome/browser/chromeos/login/ui/login_display_host.h" | 18 #include "chrome/browser/chromeos/login/ui/login_display_host.h" |
19 #include "chrome/browser/chromeos/options/network_config_view.h" | 19 #include "chrome/browser/chromeos/options/network_config_view.h" |
20 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 20 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
21 #include "chrome/browser/chromeos/set_time_dialog.h" | 21 #include "chrome/browser/chromeos/set_time_dialog.h" |
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 chromeos::system::SystemClock* clock) { | 374 chromeos::system::SystemClock* clock) { |
375 system_tray_->SetUse24HourClock(clock->ShouldUse24HourClock()); | 375 system_tray_->SetUse24HourClock(clock->ShouldUse24HourClock()); |
376 } | 376 } |
377 | 377 |
378 void SystemTrayClient::Observe(int type, | 378 void SystemTrayClient::Observe(int type, |
379 const content::NotificationSource& source, | 379 const content::NotificationSource& source, |
380 const content::NotificationDetails& details) { | 380 const content::NotificationDetails& details) { |
381 DCHECK_EQ(chrome::NOTIFICATION_UPGRADE_RECOMMENDED, type); | 381 DCHECK_EQ(chrome::NOTIFICATION_UPGRADE_RECOMMENDED, type); |
382 HandleUpdateAvailable(); | 382 HandleUpdateAvailable(); |
383 } | 383 } |
OLD | NEW |