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

Unified Diff: ash/common/system/tray/wm_system_tray_notifier.h

Issue 2091953002: mash: Move TrayTracing to //ash/common/system/chromeos (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/common/system/chromeos/tray_tracing.cc ('k') | ash/common/system/tray/wm_system_tray_notifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/wm_system_tray_notifier.h
diff --git a/ash/common/system/tray/wm_system_tray_notifier.h b/ash/common/system/tray/wm_system_tray_notifier.h
index 84e081f3bd401331691863497291ec5eacf2bfb5..4410f53534da7f233de35dbb464e9076ba484ef3 100644
--- a/ash/common/system/tray/wm_system_tray_notifier.h
+++ b/ash/common/system/tray/wm_system_tray_notifier.h
@@ -21,6 +21,7 @@ struct UpdateInfo;
class UpdateObserver;
#if defined(OS_CHROMEOS)
+class TracingObserver;
class VirtualKeyboardObserver;
#endif
@@ -77,6 +78,11 @@ class ASH_EXPORT WmSystemTrayNotifier {
void NotifyUpdateRecommended(const UpdateInfo& info);
#if defined(OS_CHROMEOS)
+ // Tracing.
+ void AddTracingObserver(TracingObserver* observer);
+ void RemoveTracingObserver(TracingObserver* observer);
+ void NotifyTracingModeChanged(bool value);
+
// Virtual keyboard.
void AddVirtualKeyboardObserver(VirtualKeyboardObserver* observer);
void RemoveVirtualKeyboardObserver(VirtualKeyboardObserver* observer);
@@ -92,6 +98,7 @@ class ASH_EXPORT WmSystemTrayNotifier {
base::ObserverList<UpdateObserver> update_observers_;
#if defined(OS_CHROMEOS)
+ base::ObserverList<TracingObserver> tracing_observers_;
base::ObserverList<VirtualKeyboardObserver> virtual_keyboard_observers_;
#endif
« no previous file with comments | « ash/common/system/chromeos/tray_tracing.cc ('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