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 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_NOTIFIER_H_ | 5 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_NOTIFIER_H_ |
6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_NOTIFIER_H_ | 6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_NOTIFIER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "ash/ash_export.h" | 11 #include "ash/ash_export.h" |
12 #include "ash/system/bluetooth/bluetooth_observer.h" | 12 #include "ash/system/bluetooth/bluetooth_observer.h" |
13 #include "ash/system/chromeos/tray_tracing.h" | 13 #include "ash/system/chromeos/tray_tracing.h" |
14 #include "ash/system/date/clock_observer.h" | 14 #include "ash/system/date/clock_observer.h" |
15 #include "ash/system/drive/drive_observer.h" | 15 #include "ash/system/drive/drive_observer.h" |
16 #include "ash/system/ime/ime_observer.h" | 16 #include "ash/system/ime/ime_observer.h" |
17 #include "ash/system/locale/locale_observer.h" | 17 #include "ash/system/locale/locale_observer.h" |
18 #include "ash/system/logout_button/logout_button_observer.h" | 18 #include "ash/system/logout_button/logout_button_observer.h" |
19 #include "ash/system/session_length_limit/session_length_limit_observer.h" | 19 #include "ash/system/session_length_limit/session_length_limit_observer.h" |
20 #include "ash/system/tray_accessibility.h" | 20 #include "ash/system/tray_accessibility.h" |
21 #include "ash/system/tray_caps_lock.h" | 21 #include "ash/system/tray_caps_lock.h" |
22 #include "ash/system/user/update_observer.h" | 22 #include "ash/system/user/update_observer.h" |
23 #include "ash/system/user/user_observer.h" | 23 #include "ash/system/user/user_observer.h" |
24 #include "base/observer_list.h" | 24 #include "base/observer_list.h" |
| 25 #include "base/time/time.h" |
25 | 26 |
26 #if defined(OS_CHROMEOS) | 27 #if defined(OS_CHROMEOS) |
27 #include "ash/system/chromeos/enterprise/enterprise_domain_observer.h" | 28 #include "ash/system/chromeos/enterprise/enterprise_domain_observer.h" |
28 #include "ash/system/chromeos/network/network_observer.h" | 29 #include "ash/system/chromeos/network/network_observer.h" |
29 #include "ash/system/chromeos/screen_security/screen_capture_observer.h" | 30 #include "ash/system/chromeos/screen_security/screen_capture_observer.h" |
30 #include "ash/system/chromeos/screen_security/screen_share_observer.h" | 31 #include "ash/system/chromeos/screen_security/screen_share_observer.h" |
31 #endif | 32 #endif |
32 | 33 |
33 namespace ash { | 34 namespace ash { |
34 | 35 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 void NotifyTracingModeChanged(bool value); | 97 void NotifyTracingModeChanged(bool value); |
97 void NotifyRefreshBluetooth(); | 98 void NotifyRefreshBluetooth(); |
98 void NotifyBluetoothDiscoveringChanged(); | 99 void NotifyBluetoothDiscoveringChanged(); |
99 void NotifyCapsLockChanged(bool enabled, bool search_mapped_to_caps_lock); | 100 void NotifyCapsLockChanged(bool enabled, bool search_mapped_to_caps_lock); |
100 void NotifyRefreshClock(); | 101 void NotifyRefreshClock(); |
101 void NotifyDateFormatChanged(); | 102 void NotifyDateFormatChanged(); |
102 void NotifySystemClockTimeUpdated(); | 103 void NotifySystemClockTimeUpdated(); |
103 void NotifyDriveJobUpdated(const DriveOperationStatus& status); | 104 void NotifyDriveJobUpdated(const DriveOperationStatus& status); |
104 void NotifyRefreshIME(bool show_message); | 105 void NotifyRefreshIME(bool show_message); |
105 void NotifyShowLoginButtonChanged(bool show_login_button); | 106 void NotifyShowLoginButtonChanged(bool show_login_button); |
| 107 void NotifyLogoutDialogDurationChanged(base::TimeDelta duration); |
106 void NotifyLocaleChanged(LocaleObserver::Delegate* delegate, | 108 void NotifyLocaleChanged(LocaleObserver::Delegate* delegate, |
107 const std::string& cur_locale, | 109 const std::string& cur_locale, |
108 const std::string& from_locale, | 110 const std::string& from_locale, |
109 const std::string& to_locale); | 111 const std::string& to_locale); |
110 void NotifySessionStartTimeChanged(); | 112 void NotifySessionStartTimeChanged(); |
111 void NotifySessionLengthLimitChanged(); | 113 void NotifySessionLengthLimitChanged(); |
112 void NotifyUpdateRecommended(UpdateObserver::UpdateSeverity severity); | 114 void NotifyUpdateRecommended(UpdateObserver::UpdateSeverity severity); |
113 void NotifyUserUpdate(); | 115 void NotifyUserUpdate(); |
114 void NotifyUserAddedToSession(); | 116 void NotifyUserAddedToSession(); |
115 #if defined(OS_CHROMEOS) | 117 #if defined(OS_CHROMEOS) |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 ObserverList<ScreenShareObserver> screen_share_observers_; | 149 ObserverList<ScreenShareObserver> screen_share_observers_; |
148 scoped_ptr<NetworkStateNotifier> network_state_notifier_; | 150 scoped_ptr<NetworkStateNotifier> network_state_notifier_; |
149 #endif | 151 #endif |
150 | 152 |
151 DISALLOW_COPY_AND_ASSIGN(SystemTrayNotifier); | 153 DISALLOW_COPY_AND_ASSIGN(SystemTrayNotifier); |
152 }; | 154 }; |
153 | 155 |
154 } // namespace ash | 156 } // namespace ash |
155 | 157 |
156 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_NOTIFIER_H_ | 158 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_NOTIFIER_H_ |
OLD | NEW |