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

Unified Diff: trunk/src/ash/system/tray/system_tray.cc

Issue 170843009: Revert 251959 "Refactor the TrayAudio code so that it can be use..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 10 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
Index: trunk/src/ash/system/tray/system_tray.cc
===================================================================
--- trunk/src/ash/system/tray/system_tray.cc (revision 252005)
+++ trunk/src/ash/system/tray/system_tray.cc (working copy)
@@ -10,7 +10,6 @@
#include "ash/shell.h"
#include "ash/shell/panel_window.h"
#include "ash/shell_window_ids.h"
-#include "ash/system/audio/tray_audio.h"
#include "ash/system/bluetooth/tray_bluetooth.h"
#include "ash/system/date/tray_date.h"
#include "ash/system/drive/tray_drive.h"
@@ -48,8 +47,7 @@
#include "ui/views/view.h"
#if defined(OS_CHROMEOS)
-#include "ash/system/chromeos/audio/tray_audio_chromeos.h"
-#include "ash/system/chromeos/audio/tray_audio_delegate_chromeos.h"
+#include "ash/system/chromeos/audio/tray_audio.h"
#include "ash/system/chromeos/brightness/tray_brightness.h"
#include "ash/system/chromeos/enterprise/tray_enterprise.h"
#include "ash/system/chromeos/managed/tray_locally_managed_user.h"
@@ -197,9 +195,7 @@
AddTrayItem(new internal::TrayDisplay(this));
AddTrayItem(new internal::ScreenCaptureTrayItem(this));
AddTrayItem(new internal::ScreenShareTrayItem(this));
- AddTrayItem(
- new internal::TrayAudioChromeOs(this,
- new system::TrayAudioDelegateChromeOs()));
+ AddTrayItem(new internal::TrayAudio(this));
AddTrayItem(new internal::TrayBrightness(this));
AddTrayItem(new internal::TrayCapsLock(this));
AddTrayItem(new internal::TraySettings(this));
« no previous file with comments | « trunk/src/ash/system/chromeos/audio/tray_audio_delegate_chromeos.cc ('k') | trunk/src/ash/system/tray/system_tray_notifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698