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

Unified Diff: ash/system/tray/system_tray_notifier.h

Issue 14077010: Move ash tray audio UI code from ash/system/audio to ash/system/chromeos/audio. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make audio code CHROMROS only in SystemTrayNotifier. Created 7 years, 8 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/system/tray/system_tray.cc ('k') | ash/system/tray/system_tray_notifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray_notifier.h
diff --git a/ash/system/tray/system_tray_notifier.h b/ash/system/tray/system_tray_notifier.h
index 58939eb7c0e4c9e2836ab6f815d767572cea7ede..76ad57924a5fbb8f9e406c73f32bd27dcad5cd85 100644
--- a/ash/system/tray/system_tray_notifier.h
+++ b/ash/system/tray/system_tray_notifier.h
@@ -9,7 +9,6 @@
#include <vector>
#include "ash/ash_export.h"
-#include "ash/system/audio/audio_observer.h"
#include "ash/system/bluetooth/bluetooth_observer.h"
#include "ash/system/brightness/brightness_observer.h"
#include "ash/system/chromeos/enterprise/enterprise_domain_observer.h"
@@ -29,6 +28,7 @@
#include "base/observer_list.h"
#if defined(OS_CHROMEOS)
+#include "ash/system/chromeos/audio/audio_observer.h"
#include "ash/system/chromeos/network/network_observer.h"
#include "ash/system/chromeos/network/sms_observer.h"
#include "ash/system/chromeos/screen_capture/screen_capture_observer.h"
@@ -44,9 +44,6 @@ public:
void AddAccessibilityObserver(AccessibilityObserver* observer);
void RemoveAccessibilityObserver(AccessibilityObserver* observer);
- void AddAudioObserver(AudioObserver* observer);
- void RemoveAudioObserver(AudioObserver* observer);
-
void AddBluetoothObserver(BluetoothObserver* observer);
void RemoveBluetoothObserver(BluetoothObserver* observer);
@@ -84,6 +81,9 @@ public:
void RemoveUserObserver(UserObserver* observer);
#if defined(OS_CHROMEOS)
+ void AddAudioObserver(AudioObserver* observer);
+ void RemoveAudioObserver(AudioObserver* observer);
+
void AddNetworkObserver(NetworkObserver* observer);
void RemoveNetworkObserver(NetworkObserver* observer);
@@ -102,8 +102,6 @@ public:
void NotifyAccessibilityModeChanged(
AccessibilityNotificationVisibility notify);
- void NotifyVolumeChanged(float level);
- void NotifyMuteToggled();
void NotifyRefreshBluetooth();
void NotifyBluetoothDiscoveringChanged();
void NotifyBrightnessChanged(double level, bool user_initialted);
@@ -124,6 +122,8 @@ public:
void NotifyUpdateRecommended(UpdateObserver::UpdateSeverity severity);
void NotifyUserUpdate();
#if defined(OS_CHROMEOS)
+ void NotifyVolumeChanged(float level);
+ void NotifyMuteToggled();
void NotifyRefreshNetwork(const NetworkIconInfo &info);
void NotifySetNetworkMessage(NetworkTrayDelegate* delegate,
NetworkObserver::MessageType message_type,
@@ -143,7 +143,6 @@ public:
private:
ObserverList<AccessibilityObserver> accessibility_observers_;
- ObserverList<AudioObserver> audio_observers_;
ObserverList<BluetoothObserver> bluetooth_observers_;
ObserverList<BrightnessObserver> brightness_observers_;
ObserverList<CapsLockObserver> caps_lock_observers_;
@@ -157,6 +156,7 @@ public:
ObserverList<UpdateObserver> update_observers_;
ObserverList<UserObserver> user_observers_;
#if defined(OS_CHROMEOS)
+ ObserverList<AudioObserver> audio_observers_;
ObserverList<NetworkObserver> network_observers_;
ObserverList<NetworkObserver> vpn_observers_;
ObserverList<SmsObserver> sms_observers_;
« no previous file with comments | « ash/system/tray/system_tray.cc ('k') | ash/system/tray/system_tray_notifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698