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

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

Issue 247663003: Date and Time dialog for when the clock isn't synced. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, single quotes in browsertest js Created 6 years, 8 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_notifier.h ('k') | chrome/app/chromeos_strings.grdp » ('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 #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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 clock_observers_, 253 clock_observers_,
254 OnDateFormatChanged()); 254 OnDateFormatChanged());
255 } 255 }
256 256
257 void SystemTrayNotifier::NotifySystemClockTimeUpdated() { 257 void SystemTrayNotifier::NotifySystemClockTimeUpdated() {
258 FOR_EACH_OBSERVER(ClockObserver, 258 FOR_EACH_OBSERVER(ClockObserver,
259 clock_observers_, 259 clock_observers_,
260 OnSystemClockTimeUpdated()); 260 OnSystemClockTimeUpdated());
261 } 261 }
262 262
263 void SystemTrayNotifier::NotifySystemClockCanSetTimeChanged(bool can_set_time) {
264 FOR_EACH_OBSERVER(ClockObserver,
265 clock_observers_,
266 OnSystemClockCanSetTimeChanged(can_set_time));
267 }
268
263 void SystemTrayNotifier::NotifyDriveJobUpdated( 269 void SystemTrayNotifier::NotifyDriveJobUpdated(
264 const DriveOperationStatus& status) { 270 const DriveOperationStatus& status) {
265 FOR_EACH_OBSERVER(DriveObserver, 271 FOR_EACH_OBSERVER(DriveObserver,
266 drive_observers_, 272 drive_observers_,
267 OnDriveJobUpdated(status)); 273 OnDriveJobUpdated(status));
268 } 274 }
269 275
270 void SystemTrayNotifier::NotifyRefreshIME() { 276 void SystemTrayNotifier::NotifyRefreshIME() {
271 FOR_EACH_OBSERVER(IMEObserver, 277 FOR_EACH_OBSERVER(IMEObserver,
272 ime_observers_, 278 ime_observers_,
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 380
375 void SystemTrayNotifier::NotifyLastWindowClosed() { 381 void SystemTrayNotifier::NotifyLastWindowClosed() {
376 FOR_EACH_OBSERVER(LastWindowClosedObserver, 382 FOR_EACH_OBSERVER(LastWindowClosedObserver,
377 last_window_closed_observers_, 383 last_window_closed_observers_,
378 OnLastWindowClosed()); 384 OnLastWindowClosed());
379 } 385 }
380 386
381 #endif // OS_CHROMEOS 387 #endif // OS_CHROMEOS
382 388
383 } // namespace ash 389 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/tray/system_tray_notifier.h ('k') | chrome/app/chromeos_strings.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698