Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(417)

Side by Side Diff: ash/system/tray/system_tray_notifier.h

Issue 410333005: Remove the drive status from the ash try. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows build. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/system/tray/system_tray_delegate.cc ('k') | ash/system/tray/system_tray_notifier.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/audio/audio_observer.h" 12 #include "ash/system/audio/audio_observer.h"
13 #include "ash/system/bluetooth/bluetooth_observer.h" 13 #include "ash/system/bluetooth/bluetooth_observer.h"
14 #include "ash/system/chromeos/tray_tracing.h" 14 #include "ash/system/chromeos/tray_tracing.h"
15 #include "ash/system/date/clock_observer.h" 15 #include "ash/system/date/clock_observer.h"
16 #include "ash/system/drive/drive_observer.h"
17 #include "ash/system/ime/ime_observer.h" 16 #include "ash/system/ime/ime_observer.h"
18 #include "ash/system/locale/locale_observer.h" 17 #include "ash/system/locale/locale_observer.h"
19 #include "ash/system/tray_accessibility.h" 18 #include "ash/system/tray_accessibility.h"
20 #include "ash/system/user/update_observer.h" 19 #include "ash/system/user/update_observer.h"
21 #include "ash/system/user/user_observer.h" 20 #include "ash/system/user/user_observer.h"
22 #include "base/observer_list.h" 21 #include "base/observer_list.h"
23 22
24 #if defined(OS_CHROMEOS) 23 #if defined(OS_CHROMEOS)
25 #include "ash/system/chromeos/enterprise/enterprise_domain_observer.h" 24 #include "ash/system/chromeos/enterprise/enterprise_domain_observer.h"
26 #include "ash/system/chromeos/network/network_observer.h" 25 #include "ash/system/chromeos/network/network_observer.h"
(...skipping 23 matching lines...) Expand all
50 49
51 void AddAudioObserver(AudioObserver* observer); 50 void AddAudioObserver(AudioObserver* observer);
52 void RemoveAudioObserver(AudioObserver* observer); 51 void RemoveAudioObserver(AudioObserver* observer);
53 52
54 void AddBluetoothObserver(BluetoothObserver* observer); 53 void AddBluetoothObserver(BluetoothObserver* observer);
55 void RemoveBluetoothObserver(BluetoothObserver* observer); 54 void RemoveBluetoothObserver(BluetoothObserver* observer);
56 55
57 void AddClockObserver(ClockObserver* observer); 56 void AddClockObserver(ClockObserver* observer);
58 void RemoveClockObserver(ClockObserver* observer); 57 void RemoveClockObserver(ClockObserver* observer);
59 58
60 void AddDriveObserver(DriveObserver* observer);
61 void RemoveDriveObserver(DriveObserver* observer);
62
63 void AddIMEObserver(IMEObserver* observer); 59 void AddIMEObserver(IMEObserver* observer);
64 void RemoveIMEObserver(IMEObserver* observer); 60 void RemoveIMEObserver(IMEObserver* observer);
65 61
66 void AddLocaleObserver(LocaleObserver* observer); 62 void AddLocaleObserver(LocaleObserver* observer);
67 void RemoveLocaleObserver(LocaleObserver* observer); 63 void RemoveLocaleObserver(LocaleObserver* observer);
68 64
69 void AddTracingObserver(TracingObserver* observer); 65 void AddTracingObserver(TracingObserver* observer);
70 void RemoveTracingObserver(TracingObserver* observer); 66 void RemoveTracingObserver(TracingObserver* observer);
71 67
72 void AddUpdateObserver(UpdateObserver* observer); 68 void AddUpdateObserver(UpdateObserver* observer);
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 void NotifyAudioNodesChanged(); 109 void NotifyAudioNodesChanged();
114 void NotifyAudioActiveOutputNodeChanged(); 110 void NotifyAudioActiveOutputNodeChanged();
115 void NotifyAudioActiveInputNodeChanged(); 111 void NotifyAudioActiveInputNodeChanged();
116 void NotifyTracingModeChanged(bool value); 112 void NotifyTracingModeChanged(bool value);
117 void NotifyRefreshBluetooth(); 113 void NotifyRefreshBluetooth();
118 void NotifyBluetoothDiscoveringChanged(); 114 void NotifyBluetoothDiscoveringChanged();
119 void NotifyRefreshClock(); 115 void NotifyRefreshClock();
120 void NotifyDateFormatChanged(); 116 void NotifyDateFormatChanged();
121 void NotifySystemClockTimeUpdated(); 117 void NotifySystemClockTimeUpdated();
122 void NotifySystemClockCanSetTimeChanged(bool can_set_time); 118 void NotifySystemClockCanSetTimeChanged(bool can_set_time);
123 void NotifyDriveJobUpdated(const DriveOperationStatus& status);
124 void NotifyRefreshIME(); 119 void NotifyRefreshIME();
125 void NotifyLocaleChanged(LocaleObserver::Delegate* delegate, 120 void NotifyLocaleChanged(LocaleObserver::Delegate* delegate,
126 const std::string& cur_locale, 121 const std::string& cur_locale,
127 const std::string& from_locale, 122 const std::string& from_locale,
128 const std::string& to_locale); 123 const std::string& to_locale);
129 void NotifyUpdateRecommended(UpdateObserver::UpdateSeverity severity); 124 void NotifyUpdateRecommended(UpdateObserver::UpdateSeverity severity);
130 void NotifyUserUpdate(); 125 void NotifyUserUpdate();
131 void NotifyUserAddedToSession(); 126 void NotifyUserAddedToSession();
132 #if defined(OS_CHROMEOS) 127 #if defined(OS_CHROMEOS)
133 void NotifyShowLoginButtonChanged(bool show_login_button); 128 void NotifyShowLoginButtonChanged(bool show_login_button);
(...skipping 15 matching lines...) Expand all
149 NetworkStateNotifier* network_state_notifier() { 144 NetworkStateNotifier* network_state_notifier() {
150 return network_state_notifier_.get(); 145 return network_state_notifier_.get();
151 } 146 }
152 #endif 147 #endif
153 148
154 private: 149 private:
155 ObserverList<AccessibilityObserver> accessibility_observers_; 150 ObserverList<AccessibilityObserver> accessibility_observers_;
156 ObserverList<AudioObserver> audio_observers_; 151 ObserverList<AudioObserver> audio_observers_;
157 ObserverList<BluetoothObserver> bluetooth_observers_; 152 ObserverList<BluetoothObserver> bluetooth_observers_;
158 ObserverList<ClockObserver> clock_observers_; 153 ObserverList<ClockObserver> clock_observers_;
159 ObserverList<DriveObserver> drive_observers_;
160 ObserverList<IMEObserver> ime_observers_; 154 ObserverList<IMEObserver> ime_observers_;
161 ObserverList<LocaleObserver> locale_observers_; 155 ObserverList<LocaleObserver> locale_observers_;
162 ObserverList<TracingObserver> tracing_observers_; 156 ObserverList<TracingObserver> tracing_observers_;
163 ObserverList<UpdateObserver> update_observers_; 157 ObserverList<UpdateObserver> update_observers_;
164 ObserverList<UserObserver> user_observers_; 158 ObserverList<UserObserver> user_observers_;
165 #if defined(OS_CHROMEOS) 159 #if defined(OS_CHROMEOS)
166 ObserverList<LogoutButtonObserver> logout_button_observers_; 160 ObserverList<LogoutButtonObserver> logout_button_observers_;
167 ObserverList<SessionLengthLimitObserver> session_length_limit_observers_; 161 ObserverList<SessionLengthLimitObserver> session_length_limit_observers_;
168 ObserverList<NetworkObserver> network_observers_; 162 ObserverList<NetworkObserver> network_observers_;
169 ObserverList<NetworkPortalDetectorObserver> 163 ObserverList<NetworkPortalDetectorObserver>
170 network_portal_detector_observers_; 164 network_portal_detector_observers_;
171 ObserverList<EnterpriseDomainObserver> enterprise_domain_observers_; 165 ObserverList<EnterpriseDomainObserver> enterprise_domain_observers_;
172 ObserverList<MediaCaptureObserver> media_capture_observers_; 166 ObserverList<MediaCaptureObserver> media_capture_observers_;
173 ObserverList<ScreenCaptureObserver> screen_capture_observers_; 167 ObserverList<ScreenCaptureObserver> screen_capture_observers_;
174 ObserverList<ScreenShareObserver> screen_share_observers_; 168 ObserverList<ScreenShareObserver> screen_share_observers_;
175 ObserverList<LastWindowClosedObserver> last_window_closed_observers_; 169 ObserverList<LastWindowClosedObserver> last_window_closed_observers_;
176 scoped_ptr<NetworkStateNotifier> network_state_notifier_; 170 scoped_ptr<NetworkStateNotifier> network_state_notifier_;
177 #endif 171 #endif
178 172
179 DISALLOW_COPY_AND_ASSIGN(SystemTrayNotifier); 173 DISALLOW_COPY_AND_ASSIGN(SystemTrayNotifier);
180 }; 174 };
181 175
182 } // namespace ash 176 } // namespace ash
183 177
184 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_NOTIFIER_H_ 178 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_NOTIFIER_H_
OLDNEW
« no previous file with comments | « ash/system/tray/system_tray_delegate.cc ('k') | ash/system/tray/system_tray_notifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698