| 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 "ash/common/system/tray/system_tray_notifier.h" | 5 #include "ash/system/tray/system_tray_notifier.h" |
| 6 | 6 |
| 7 #include "ash/common/system/accessibility_observer.h" | 7 #include "ash/system/accessibility_observer.h" |
| 8 #include "ash/common/system/chromeos/bluetooth/bluetooth_observer.h" | 8 #include "ash/system/bluetooth/bluetooth_observer.h" |
| 9 #include "ash/common/system/chromeos/enterprise/enterprise_domain_observer.h" | 9 #include "ash/system/date/clock_observer.h" |
| 10 #include "ash/common/system/chromeos/network/network_observer.h" | 10 #include "ash/system/enterprise/enterprise_domain_observer.h" |
| 11 #include "ash/common/system/chromeos/network/network_portal_detector_observer.h" | 11 #include "ash/system/ime/ime_observer.h" |
| 12 #include "ash/common/system/chromeos/screen_security/screen_capture_observer.h" | 12 #include "ash/system/network/network_observer.h" |
| 13 #include "ash/common/system/chromeos/screen_security/screen_share_observer.h" | 13 #include "ash/system/network/network_portal_detector_observer.h" |
| 14 #include "ash/common/system/chromeos/session/last_window_closed_observer.h" | 14 #include "ash/system/screen_security/screen_capture_observer.h" |
| 15 #include "ash/common/system/chromeos/session/logout_button_observer.h" | 15 #include "ash/system/screen_security/screen_share_observer.h" |
| 16 #include "ash/common/system/chromeos/session/session_length_limit_observer.h" | 16 #include "ash/system/session/last_window_closed_observer.h" |
| 17 #include "ash/common/system/chromeos/tray_tracing.h" | 17 #include "ash/system/session/logout_button_observer.h" |
| 18 #include "ash/common/system/chromeos/virtual_keyboard/virtual_keyboard_observer.
h" | 18 #include "ash/system/session/session_length_limit_observer.h" |
| 19 #include "ash/common/system/date/clock_observer.h" | 19 #include "ash/system/tray_tracing.h" |
| 20 #include "ash/common/system/ime/ime_observer.h" | 20 #include "ash/system/user/user_observer.h" |
| 21 #include "ash/common/system/user/user_observer.h" | 21 #include "ash/system/virtual_keyboard/virtual_keyboard_observer.h" |
| 22 | 22 |
| 23 namespace ash { | 23 namespace ash { |
| 24 | 24 |
| 25 SystemTrayNotifier::SystemTrayNotifier() {} | 25 SystemTrayNotifier::SystemTrayNotifier() {} |
| 26 | 26 |
| 27 SystemTrayNotifier::~SystemTrayNotifier() {} | 27 SystemTrayNotifier::~SystemTrayNotifier() {} |
| 28 | 28 |
| 29 void SystemTrayNotifier::AddAccessibilityObserver( | 29 void SystemTrayNotifier::AddAccessibilityObserver( |
| 30 AccessibilityObserver* observer) { | 30 AccessibilityObserver* observer) { |
| 31 accessibility_observers_.AddObserver(observer); | 31 accessibility_observers_.AddObserver(observer); |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 virtual_keyboard_observers_.RemoveObserver(observer); | 290 virtual_keyboard_observers_.RemoveObserver(observer); |
| 291 } | 291 } |
| 292 | 292 |
| 293 void SystemTrayNotifier::NotifyVirtualKeyboardSuppressionChanged( | 293 void SystemTrayNotifier::NotifyVirtualKeyboardSuppressionChanged( |
| 294 bool suppressed) { | 294 bool suppressed) { |
| 295 for (auto& observer : virtual_keyboard_observers_) | 295 for (auto& observer : virtual_keyboard_observers_) |
| 296 observer.OnKeyboardSuppressionChanged(suppressed); | 296 observer.OnKeyboardSuppressionChanged(suppressed); |
| 297 } | 297 } |
| 298 | 298 |
| 299 } // namespace ash | 299 } // namespace ash |
| OLD | NEW |