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

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

Issue 83413004: Remove enable Drive offline system tray UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: drive settings Created 7 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 | Annotate | Revision Log
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 #include "ash/system/tray/system_tray_notifier.h" 5 #include "ash/system/tray/system_tray_notifier.h"
6 6
7 #if defined(OS_CHROMEOS) 7 #if defined(OS_CHROMEOS)
8 #include "ash/system/chromeos/network/network_state_notifier.h" 8 #include "ash/system/chromeos/network/network_state_notifier.h"
9 #endif 9 #endif
10 10
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 OnSystemClockTimeUpdated()); 213 OnSystemClockTimeUpdated());
214 } 214 }
215 215
216 void SystemTrayNotifier::NotifyDriveJobUpdated( 216 void SystemTrayNotifier::NotifyDriveJobUpdated(
217 const DriveOperationStatus& status) { 217 const DriveOperationStatus& status) {
218 FOR_EACH_OBSERVER(DriveObserver, 218 FOR_EACH_OBSERVER(DriveObserver,
219 drive_observers_, 219 drive_observers_,
220 OnDriveJobUpdated(status)); 220 OnDriveJobUpdated(status));
221 } 221 }
222 222
223 void SystemTrayNotifier::NotifyDriveOfflineEnabled() {
224 FOR_EACH_OBSERVER(DriveObserver,
225 drive_observers_,
226 OnDriveOfflineEnabled());
227 }
228
229 void SystemTrayNotifier::NotifyRefreshIME(bool show_message) { 223 void SystemTrayNotifier::NotifyRefreshIME(bool show_message) {
230 FOR_EACH_OBSERVER(IMEObserver, 224 FOR_EACH_OBSERVER(IMEObserver,
231 ime_observers_, 225 ime_observers_,
232 OnIMERefresh(show_message)); 226 OnIMERefresh(show_message));
233 } 227 }
234 228
235 void SystemTrayNotifier::NotifyShowLoginButtonChanged(bool show_login_button) { 229 void SystemTrayNotifier::NotifyShowLoginButtonChanged(bool show_login_button) {
236 FOR_EACH_OBSERVER(LogoutButtonObserver, 230 FOR_EACH_OBSERVER(LogoutButtonObserver,
237 logout_button_observers_, 231 logout_button_observers_,
238 OnShowLogoutButtonInTrayChanged(show_login_button)); 232 OnShowLogoutButtonInTrayChanged(show_login_button));
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 } 307 }
314 308
315 void SystemTrayNotifier::NotifyScreenShareStop() { 309 void SystemTrayNotifier::NotifyScreenShareStop() {
316 FOR_EACH_OBSERVER(ScreenShareObserver, screen_share_observers_, 310 FOR_EACH_OBSERVER(ScreenShareObserver, screen_share_observers_,
317 OnScreenShareStop()); 311 OnScreenShareStop());
318 } 312 }
319 313
320 #endif // OS_CHROMEOS 314 #endif // OS_CHROMEOS
321 315
322 } // namespace ash 316 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/tray/system_tray_notifier.h ('k') | chrome/browser/chromeos/first_run/drive_first_run_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698