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

Unified Diff: ash/common/system/chromeos/audio/volume_view.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
Index: ash/common/system/chromeos/audio/volume_view.h
diff --git a/ash/common/system/chromeos/audio/volume_view.h b/ash/common/system/chromeos/audio/volume_view.h
index 47835e504eed408bf32369e0e9d23cca4ddc654a..5ca3d1a72e76cf45d14dfd284cb023622daa29b4 100644
--- a/ash/common/system/chromeos/audio/volume_view.h
+++ b/ash/common/system/chromeos/audio/volume_view.h
@@ -19,10 +19,6 @@ namespace ash {
class SystemTrayItem;
class TriView;
-namespace system {
-class TrayAudioDelegate;
-}
-
namespace tray {
class VolumeButton;
@@ -30,9 +26,7 @@ class VolumeView : public views::View,
public views::SliderListener,
public views::ButtonListener {
public:
- VolumeView(SystemTrayItem* owner,
- system::TrayAudioDelegate* audio_delegate,
- bool is_default_view);
+ VolumeView(SystemTrayItem* owner, bool is_default_view);
~VolumeView() override;
@@ -60,7 +54,6 @@ class VolumeView : public views::View,
// The only immediate child view of |this|. All other view elements are added
// to the |tri_view_| to handle layout.
TriView* tri_view_;
- system::TrayAudioDelegate* audio_delegate_;
views::CustomButton* more_button_;
VolumeButton* icon_;
views::Slider* slider_;
« no previous file with comments | « ash/common/system/chromeos/audio/tray_audio_delegate_chromeos.cc ('k') | ash/common/system/chromeos/audio/volume_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698