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

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

Issue 673713003: Create a NetworkConnect class and Delegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More virtual fixes Created 6 years, 1 month 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
« no previous file with comments | « ash/system/tray/system_tray_delegate.h ('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
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 void NotifyOnCaptivePortalDetected(const std::string& service_path); 135 void NotifyOnCaptivePortalDetected(const std::string& service_path);
136 void NotifyEnterpriseDomainChanged(); 136 void NotifyEnterpriseDomainChanged();
137 void NotifyMediaCaptureChanged(); 137 void NotifyMediaCaptureChanged();
138 void NotifyScreenCaptureStart(const base::Closure& stop_callback, 138 void NotifyScreenCaptureStart(const base::Closure& stop_callback,
139 const base::string16& sharing_app_name); 139 const base::string16& sharing_app_name);
140 void NotifyScreenCaptureStop(); 140 void NotifyScreenCaptureStop();
141 void NotifyScreenShareStart(const base::Closure& stop_callback, 141 void NotifyScreenShareStart(const base::Closure& stop_callback,
142 const base::string16& helper_name); 142 const base::string16& helper_name);
143 void NotifyScreenShareStop(); 143 void NotifyScreenShareStop();
144 void NotifyLastWindowClosed(); 144 void NotifyLastWindowClosed();
145
146 NetworkStateNotifier* network_state_notifier() {
147 return network_state_notifier_.get();
148 }
149 #endif 145 #endif
150 146
151 private: 147 private:
152 ObserverList<AccessibilityObserver> accessibility_observers_; 148 ObserverList<AccessibilityObserver> accessibility_observers_;
153 ObserverList<AudioObserver> audio_observers_; 149 ObserverList<AudioObserver> audio_observers_;
154 ObserverList<BluetoothObserver> bluetooth_observers_; 150 ObserverList<BluetoothObserver> bluetooth_observers_;
155 ObserverList<ClockObserver> clock_observers_; 151 ObserverList<ClockObserver> clock_observers_;
156 ObserverList<IMEObserver> ime_observers_; 152 ObserverList<IMEObserver> ime_observers_;
157 ObserverList<LocaleObserver> locale_observers_; 153 ObserverList<LocaleObserver> locale_observers_;
158 ObserverList<TracingObserver> tracing_observers_; 154 ObserverList<TracingObserver> tracing_observers_;
159 ObserverList<UpdateObserver> update_observers_; 155 ObserverList<UpdateObserver> update_observers_;
160 ObserverList<UserObserver> user_observers_; 156 ObserverList<UserObserver> user_observers_;
161 #if defined(OS_CHROMEOS) 157 #if defined(OS_CHROMEOS)
162 ObserverList<LogoutButtonObserver> logout_button_observers_; 158 ObserverList<LogoutButtonObserver> logout_button_observers_;
163 ObserverList<SessionLengthLimitObserver> session_length_limit_observers_; 159 ObserverList<SessionLengthLimitObserver> session_length_limit_observers_;
164 ObserverList<NetworkObserver> network_observers_; 160 ObserverList<NetworkObserver> network_observers_;
165 ObserverList<NetworkPortalDetectorObserver> 161 ObserverList<NetworkPortalDetectorObserver>
166 network_portal_detector_observers_; 162 network_portal_detector_observers_;
167 ObserverList<EnterpriseDomainObserver> enterprise_domain_observers_; 163 ObserverList<EnterpriseDomainObserver> enterprise_domain_observers_;
168 ObserverList<MediaCaptureObserver> media_capture_observers_; 164 ObserverList<MediaCaptureObserver> media_capture_observers_;
169 ObserverList<ScreenCaptureObserver> screen_capture_observers_; 165 ObserverList<ScreenCaptureObserver> screen_capture_observers_;
170 ObserverList<ScreenShareObserver> screen_share_observers_; 166 ObserverList<ScreenShareObserver> screen_share_observers_;
171 ObserverList<LastWindowClosedObserver> last_window_closed_observers_; 167 ObserverList<LastWindowClosedObserver> last_window_closed_observers_;
172 scoped_ptr<NetworkStateNotifier> network_state_notifier_;
173 #endif 168 #endif
174 169
175 DISALLOW_COPY_AND_ASSIGN(SystemTrayNotifier); 170 DISALLOW_COPY_AND_ASSIGN(SystemTrayNotifier);
176 }; 171 };
177 172
178 } // namespace ash 173 } // namespace ash
179 174
180 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_NOTIFIER_H_ 175 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_NOTIFIER_H_
OLDNEW
« no previous file with comments | « ash/system/tray/system_tray_delegate.h ('k') | ash/system/tray/system_tray_notifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698