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

Unified Diff: ash/common/system/chromeos/audio/tray_audio.h

Issue 2778503002: Remove TrayAudioDelegate (Closed)
Patch Set: nits 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/BUILD.gn ('k') | ash/common/system/chromeos/audio/tray_audio.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/chromeos/audio/tray_audio.h
diff --git a/ash/common/system/chromeos/audio/tray_audio.h b/ash/common/system/chromeos/audio/tray_audio.h
index d58764476eb9d9989e509d51f1623704187d6e2a..bc722fc65ef88187a9a4e5f4f04850f0b5c9fbe3 100644
--- a/ash/common/system/chromeos/audio/tray_audio.h
+++ b/ash/common/system/chromeos/audio/tray_audio.h
@@ -7,8 +7,6 @@
#include <stdint.h>
-#include <memory>
-
#include "ash/ash_export.h"
#include "ash/common/system/tray/tray_image_item.h"
#include "base/macros.h"
@@ -18,10 +16,6 @@
namespace ash {
-namespace system {
-class TrayAudioDelegate;
-}
-
namespace tray {
class AudioDetailedView;
class VolumeView;
@@ -76,8 +70,6 @@ class ASH_EXPORT TrayAudio : public TrayImageItem,
// Updates the UI views.
void Update();
- // TODO(jamescook): Remove this delegate and inline all the code.
- std::unique_ptr<system::TrayAudioDelegate> audio_delegate_;
tray::VolumeView* volume_view_;
// True if VolumeView should be created for accelerator pop up;
« no previous file with comments | « ash/BUILD.gn ('k') | ash/common/system/chromeos/audio/tray_audio.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698