ProfilePolicyConnectorFactory: Refactoring from Profile to BrowserContext.
[chromium-blink-merge.git] / ash / system / chromeos / audio / tray_audio_chromeos.h
bloba20a49d7f51a672f9c6d8d0e415cb8c2e2f5d8f9
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ASH_SYSTEM_CHROMEOS_AUDIO_TRAY_AUDIO_CHROMEOS_H_
6 #define ASH_SYSTEM_CHROMEOS_AUDIO_TRAY_AUDIO_CHROMEOS_H_
8 #include "ash/ash_export.h"
9 #include "ash/system/audio/tray_audio.h"
10 #include "base/memory/scoped_ptr.h"
12 namespace ash {
13 namespace tray {
14 class AudioDetailedView;
17 class ASH_EXPORT TrayAudioChromeOs : public TrayAudio {
18 public:
19 explicit TrayAudioChromeOs(SystemTray* system_tray);
20 ~TrayAudioChromeOs() override;
22 protected:
23 // Overridden from TrayAudio
24 void Update() override;
26 private:
27 // Overridden from SystemTrayItem.
28 views::View* CreateDetailedView(user::LoginStatus status) override;
29 void DestroyDetailedView() override;
31 tray::AudioDetailedView* audio_detail_view_;
33 DISALLOW_COPY_AND_ASSIGN(TrayAudioChromeOs);
36 } // namespace ash
38 #endif // ASH_SYSTEM_CHROMEOS_AUDIO_TRAY_AUDIO_CHROMEOS_H_