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

Side by Side Diff: ash/common/system/tray/wm_system_tray_notifier.h

Issue 2078393005: mash: Move accessibility_types.h from ui namespace to ash namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a11y
Patch Set: fix chromevox code generated from js Created 4 years, 6 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
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 #ifndef ASH_COMMON_SYSTEM_TRAY_WM_SYSTEM_TRAY_NOTIFIER_H_ 5 #ifndef ASH_COMMON_SYSTEM_TRAY_WM_SYSTEM_TRAY_NOTIFIER_H_
6 #define ASH_COMMON_SYSTEM_TRAY_WM_SYSTEM_TRAY_NOTIFIER_H_ 6 #define ASH_COMMON_SYSTEM_TRAY_WM_SYSTEM_TRAY_NOTIFIER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/common/accessibility_types.h" 9 #include "ash/common/accessibility_types.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 19 matching lines...) Expand all
30 void AddAccessibilityObserver(AccessibilityObserver* observer); 30 void AddAccessibilityObserver(AccessibilityObserver* observer);
31 void RemoveAccessibilityObserver(AccessibilityObserver* observer); 31 void RemoveAccessibilityObserver(AccessibilityObserver* observer);
32 32
33 void AddClockObserver(ClockObserver* observer); 33 void AddClockObserver(ClockObserver* observer);
34 void RemoveClockObserver(ClockObserver* observer); 34 void RemoveClockObserver(ClockObserver* observer);
35 35
36 void AddUpdateObserver(UpdateObserver* observer); 36 void AddUpdateObserver(UpdateObserver* observer);
37 void RemoveUpdateObserver(UpdateObserver* observer); 37 void RemoveUpdateObserver(UpdateObserver* observer);
38 38
39 void NotifyAccessibilityModeChanged( 39 void NotifyAccessibilityModeChanged(
40 ui::AccessibilityNotificationVisibility notify); 40 AccessibilityNotificationVisibility notify);
41 41
42 void NotifyRefreshClock(); 42 void NotifyRefreshClock();
43 void NotifyDateFormatChanged(); 43 void NotifyDateFormatChanged();
44 void NotifySystemClockTimeUpdated(); 44 void NotifySystemClockTimeUpdated();
45 void NotifySystemClockCanSetTimeChanged(bool can_set_time); 45 void NotifySystemClockCanSetTimeChanged(bool can_set_time);
46 46
47 void NotifyUpdateRecommended(const UpdateInfo& info); 47 void NotifyUpdateRecommended(const UpdateInfo& info);
48 48
49 private: 49 private:
50 base::ObserverList<AccessibilityObserver> accessibility_observers_; 50 base::ObserverList<AccessibilityObserver> accessibility_observers_;
51 base::ObserverList<ClockObserver> clock_observers_; 51 base::ObserverList<ClockObserver> clock_observers_;
52 base::ObserverList<UpdateObserver> update_observers_; 52 base::ObserverList<UpdateObserver> update_observers_;
53 53
54 DISALLOW_COPY_AND_ASSIGN(WmSystemTrayNotifier); 54 DISALLOW_COPY_AND_ASSIGN(WmSystemTrayNotifier);
55 }; 55 };
56 56
57 } // namespace ash 57 } // namespace ash
58 58
59 #endif // ASH_COMMON_SYSTEM_TRAY_WM_SYSTEM_TRAY_NOTIFIER_H_ 59 #endif // ASH_COMMON_SYSTEM_TRAY_WM_SYSTEM_TRAY_NOTIFIER_H_
OLDNEW
« no previous file with comments | « ash/common/system/accessibility_observer.h ('k') | ash/common/system/tray/wm_system_tray_notifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698