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

Unified Diff: ash/system/chromeos/audio/tray_audio_chromeos.h

Issue 2113113002: mash: Move chromeos audio system tray files to //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/system/chromeos/audio/audio_detailed_view.cc ('k') | ash/system/chromeos/audio/tray_audio_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/audio/tray_audio_chromeos.h
diff --git a/ash/system/chromeos/audio/tray_audio_chromeos.h b/ash/system/chromeos/audio/tray_audio_chromeos.h
deleted file mode 100644
index 18bc0acae34bc2665c51b552c506b1aa3385108b..0000000000000000000000000000000000000000
--- a/ash/system/chromeos/audio/tray_audio_chromeos.h
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ASH_SYSTEM_CHROMEOS_AUDIO_TRAY_AUDIO_CHROMEOS_H_
-#define ASH_SYSTEM_CHROMEOS_AUDIO_TRAY_AUDIO_CHROMEOS_H_
-
-#include <stdint.h>
-
-#include "ash/ash_export.h"
-#include "ash/common/system/audio/tray_audio.h"
-#include "base/macros.h"
-#include "chromeos/dbus/power_manager_client.h"
-
-namespace ash {
-namespace tray {
-class AudioDetailedView;
-}
-
-class ASH_EXPORT TrayAudioChromeOs
- : public TrayAudio,
- public chromeos::PowerManagerClient::Observer {
- public:
- explicit TrayAudioChromeOs(SystemTray* system_tray);
- ~TrayAudioChromeOs() override;
-
- protected:
- // Overridden from TrayAudio
- void Update() override;
-
- private:
- // Overridden from SystemTrayItem.
- views::View* CreateDetailedView(LoginStatus status) override;
- void DestroyDetailedView() override;
-
- // Overridden from display::DisplayObserver.
- void OnDisplayAdded(const display::Display& new_display) override;
- void OnDisplayRemoved(const display::Display& old_display) override;
- void OnDisplayMetricsChanged(const display::Display& display,
- uint32_t changed_metrics) override;
-
- // Overriden from chromeos::PowerManagerClient::Observer.
- void SuspendDone(const base::TimeDelta& sleep_duration) override;
-
- tray::AudioDetailedView* audio_detail_view_;
-
- DISALLOW_COPY_AND_ASSIGN(TrayAudioChromeOs);
-};
-
-} // namespace ash
-
-#endif // ASH_SYSTEM_CHROMEOS_AUDIO_TRAY_AUDIO_CHROMEOS_H_
« no previous file with comments | « ash/system/chromeos/audio/audio_detailed_view.cc ('k') | ash/system/chromeos/audio/tray_audio_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698