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

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
« no previous file with comments | « ash/system/tray/system_tray_notifier.h ('k') | ash/system/tray_accessibility.h » ('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 namespace ash { 7 namespace ash {
8 8
9 SystemTrayNotifier::SystemTrayNotifier() { 9 SystemTrayNotifier::SystemTrayNotifier() {
10 } 10 }
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 last_window_closed_observers_.AddObserver(observer); 171 last_window_closed_observers_.AddObserver(observer);
172 } 172 }
173 173
174 void SystemTrayNotifier::RemoveLastWindowClosedObserver( 174 void SystemTrayNotifier::RemoveLastWindowClosedObserver(
175 LastWindowClosedObserver* observer) { 175 LastWindowClosedObserver* observer) {
176 last_window_closed_observers_.RemoveObserver(observer); 176 last_window_closed_observers_.RemoveObserver(observer);
177 } 177 }
178 #endif 178 #endif
179 179
180 void SystemTrayNotifier::NotifyAccessibilityModeChanged( 180 void SystemTrayNotifier::NotifyAccessibilityModeChanged(
181 AccessibilityNotificationVisibility notify) { 181 ui::AccessibilityNotificationVisibility notify) {
182 FOR_EACH_OBSERVER( 182 FOR_EACH_OBSERVER(
183 AccessibilityObserver, 183 AccessibilityObserver,
184 accessibility_observers_, 184 accessibility_observers_,
185 OnAccessibilityModeChanged(notify)); 185 OnAccessibilityModeChanged(notify));
186 } 186 }
187 187
188 void SystemTrayNotifier::NotifyAudioOutputVolumeChanged() { 188 void SystemTrayNotifier::NotifyAudioOutputVolumeChanged() {
189 FOR_EACH_OBSERVER( 189 FOR_EACH_OBSERVER(
190 AudioObserver, 190 AudioObserver,
191 audio_observers_, 191 audio_observers_,
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 371
372 void SystemTrayNotifier::NotifyLastWindowClosed() { 372 void SystemTrayNotifier::NotifyLastWindowClosed() {
373 FOR_EACH_OBSERVER(LastWindowClosedObserver, 373 FOR_EACH_OBSERVER(LastWindowClosedObserver,
374 last_window_closed_observers_, 374 last_window_closed_observers_,
375 OnLastWindowClosed()); 375 OnLastWindowClosed());
376 } 376 }
377 377
378 #endif // OS_CHROMEOS 378 #endif // OS_CHROMEOS
379 379
380 } // namespace ash 380 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/tray/system_tray_notifier.h ('k') | ash/system/tray_accessibility.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698