OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef ASH_SYSTEM_CHROMEOS_AUDIO_TRAY_AUDIO_CHROMEOS_H_ |
| 6 #define ASH_SYSTEM_CHROMEOS_AUDIO_TRAY_AUDIO_CHROMEOS_H_ |
| 7 |
| 8 #include "ash/ash_export.h" |
| 9 #include "ash/system/audio/tray_audio.h" |
| 10 #include "base/memory/scoped_ptr.h" |
| 11 |
| 12 namespace ash { |
| 13 |
| 14 namespace internal { |
| 15 |
| 16 namespace tray { |
| 17 class AudioDetailedView; |
| 18 } |
| 19 |
| 20 class ASH_EXPORT TrayAudioChromeOs : public TrayAudio { |
| 21 public: |
| 22 explicit TrayAudioChromeOs(SystemTray* system_tray); |
| 23 virtual ~TrayAudioChromeOs(); |
| 24 |
| 25 protected: |
| 26 // Overridden from TrayAudio |
| 27 virtual void Update() OVERRIDE; |
| 28 |
| 29 private: |
| 30 // Overridden from SystemTrayItem. |
| 31 virtual views::View* CreateDetailedView(user::LoginStatus status) OVERRIDE; |
| 32 virtual void DestroyDetailedView() OVERRIDE; |
| 33 |
| 34 tray::AudioDetailedView* audio_detail_view_; |
| 35 |
| 36 DISALLOW_COPY_AND_ASSIGN(TrayAudioChromeOs); |
| 37 }; |
| 38 |
| 39 } // namespace internal |
| 40 } // namespace ash |
| 41 |
| 42 #endif // ASH_SYSTEM_CHROMEOS_AUDIO_TRAY_AUDIO_CHROMEOS_H_ |
OLD | NEW |