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

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

Issue 2732813002: chromeos: Move files in //ash/common to //ash, part 1 (Closed)
Patch Set: rebase Created 3 years, 9 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
« no previous file with comments | « ash/system/tray/system_tray_notifier.h ('k') | ash/system/tray/system_tray_unittest.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/common/system/tray/system_tray_notifier.h" 5 #include "ash/system/tray/system_tray_notifier.h"
6 6
7 #include "ash/common/system/accessibility_observer.h" 7 #include "ash/system/accessibility_observer.h"
8 #include "ash/common/system/chromeos/bluetooth/bluetooth_observer.h" 8 #include "ash/system/bluetooth/bluetooth_observer.h"
9 #include "ash/common/system/chromeos/enterprise/enterprise_domain_observer.h" 9 #include "ash/system/date/clock_observer.h"
10 #include "ash/common/system/chromeos/network/network_observer.h" 10 #include "ash/system/enterprise/enterprise_domain_observer.h"
11 #include "ash/common/system/chromeos/network/network_portal_detector_observer.h" 11 #include "ash/system/ime/ime_observer.h"
12 #include "ash/common/system/chromeos/screen_security/screen_capture_observer.h" 12 #include "ash/system/network/network_observer.h"
13 #include "ash/common/system/chromeos/screen_security/screen_share_observer.h" 13 #include "ash/system/network/network_portal_detector_observer.h"
14 #include "ash/common/system/chromeos/session/last_window_closed_observer.h" 14 #include "ash/system/screen_security/screen_capture_observer.h"
15 #include "ash/common/system/chromeos/session/logout_button_observer.h" 15 #include "ash/system/screen_security/screen_share_observer.h"
16 #include "ash/common/system/chromeos/session/session_length_limit_observer.h" 16 #include "ash/system/session/last_window_closed_observer.h"
17 #include "ash/common/system/chromeos/tray_tracing.h" 17 #include "ash/system/session/logout_button_observer.h"
18 #include "ash/common/system/chromeos/virtual_keyboard/virtual_keyboard_observer. h" 18 #include "ash/system/session/session_length_limit_observer.h"
19 #include "ash/common/system/date/clock_observer.h" 19 #include "ash/system/tray_tracing.h"
20 #include "ash/common/system/ime/ime_observer.h" 20 #include "ash/system/user/user_observer.h"
21 #include "ash/common/system/user/user_observer.h" 21 #include "ash/system/virtual_keyboard/virtual_keyboard_observer.h"
22 22
23 namespace ash { 23 namespace ash {
24 24
25 SystemTrayNotifier::SystemTrayNotifier() {} 25 SystemTrayNotifier::SystemTrayNotifier() {}
26 26
27 SystemTrayNotifier::~SystemTrayNotifier() {} 27 SystemTrayNotifier::~SystemTrayNotifier() {}
28 28
29 void SystemTrayNotifier::AddAccessibilityObserver( 29 void SystemTrayNotifier::AddAccessibilityObserver(
30 AccessibilityObserver* observer) { 30 AccessibilityObserver* observer) {
31 accessibility_observers_.AddObserver(observer); 31 accessibility_observers_.AddObserver(observer);
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 virtual_keyboard_observers_.RemoveObserver(observer); 290 virtual_keyboard_observers_.RemoveObserver(observer);
291 } 291 }
292 292
293 void SystemTrayNotifier::NotifyVirtualKeyboardSuppressionChanged( 293 void SystemTrayNotifier::NotifyVirtualKeyboardSuppressionChanged(
294 bool suppressed) { 294 bool suppressed) {
295 for (auto& observer : virtual_keyboard_observers_) 295 for (auto& observer : virtual_keyboard_observers_)
296 observer.OnKeyboardSuppressionChanged(suppressed); 296 observer.OnKeyboardSuppressionChanged(suppressed);
297 } 297 }
298 298
299 } // namespace ash 299 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/tray/system_tray_notifier.h ('k') | ash/system/tray/system_tray_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698