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

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

Issue 682943002: Make chrome/browser/chromeos/accessibility compile on Athena with use_ash=0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@athena_do_not_use_ash41_scroll_end_effect
Patch Set: 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
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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 last_window_closed_observers_.AddObserver(observer); 178 last_window_closed_observers_.AddObserver(observer);
179 } 179 }
180 180
181 void SystemTrayNotifier::RemoveLastWindowClosedObserver( 181 void SystemTrayNotifier::RemoveLastWindowClosedObserver(
182 LastWindowClosedObserver* observer) { 182 LastWindowClosedObserver* observer) {
183 last_window_closed_observers_.RemoveObserver(observer); 183 last_window_closed_observers_.RemoveObserver(observer);
184 } 184 }
185 #endif 185 #endif
186 186
187 void SystemTrayNotifier::NotifyAccessibilityModeChanged( 187 void SystemTrayNotifier::NotifyAccessibilityModeChanged(
188 AccessibilityNotificationVisibility notify) { 188 ui::AccessibilityNotificationVisibility notify) {
189 FOR_EACH_OBSERVER( 189 FOR_EACH_OBSERVER(
190 AccessibilityObserver, 190 AccessibilityObserver,
191 accessibility_observers_, 191 accessibility_observers_,
192 OnAccessibilityModeChanged(notify)); 192 OnAccessibilityModeChanged(notify));
193 } 193 }
194 194
195 void SystemTrayNotifier::NotifyAudioOutputVolumeChanged() { 195 void SystemTrayNotifier::NotifyAudioOutputVolumeChanged() {
196 FOR_EACH_OBSERVER( 196 FOR_EACH_OBSERVER(
197 AudioObserver, 197 AudioObserver,
198 audio_observers_, 198 audio_observers_,
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 378
379 void SystemTrayNotifier::NotifyLastWindowClosed() { 379 void SystemTrayNotifier::NotifyLastWindowClosed() {
380 FOR_EACH_OBSERVER(LastWindowClosedObserver, 380 FOR_EACH_OBSERVER(LastWindowClosedObserver,
381 last_window_closed_observers_, 381 last_window_closed_observers_,
382 OnLastWindowClosed()); 382 OnLastWindowClosed());
383 } 383 }
384 384
385 #endif // OS_CHROMEOS 385 #endif // OS_CHROMEOS
386 386
387 } // namespace ash 387 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698