| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ASH_SYSTEM_CHROMEOS_AUDIO_AUDIO_DETAILED_VIEW_H_ | 5 #ifndef ASH_SYSTEM_CHROMEOS_AUDIO_AUDIO_DETAILED_VIEW_H_ |
| 6 #define ASH_SYSTEM_CHROMEOS_AUDIO_AUDIO_DETAILED_VIEW_H_ | 6 #define ASH_SYSTEM_CHROMEOS_AUDIO_AUDIO_DETAILED_VIEW_H_ |
| 7 | 7 |
| 8 #include "ash/common/system/tray/tray_details_view.h" | 8 #include "ash/common/system/tray/tray_details_view.h" |
| 9 #include "ash/common/system/tray/view_click_listener.h" | 9 #include "ash/common/system/tray/view_click_listener.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "chromeos/audio/audio_device.h" | 11 #include "chromeos/audio/audio_device.h" |
| 12 #include "ui/gfx/font.h" | 12 #include "ui/gfx/font.h" |
| 13 | 13 |
| 14 namespace views { | 14 namespace views { |
| 15 class View; | 15 class View; |
| 16 } | 16 } |
| 17 | 17 |
| 18 namespace ash { | 18 namespace ash { |
| 19 class HoverHighlightView; | 19 class HoverHighlightView; |
| 20 | 20 |
| 21 namespace tray { | 21 namespace tray { |
| 22 | 22 |
| 23 class AudioDetailedView : public TrayDetailsView, | 23 class AudioDetailedView : public TrayDetailsView, public ViewClickListener { |
| 24 public ViewClickListener { | |
| 25 public: | 24 public: |
| 26 explicit AudioDetailedView(SystemTrayItem* owner); | 25 explicit AudioDetailedView(SystemTrayItem* owner); |
| 27 | 26 |
| 28 ~AudioDetailedView() override; | 27 ~AudioDetailedView() override; |
| 29 | 28 |
| 30 void Update(); | 29 void Update(); |
| 31 | 30 |
| 32 private: | 31 private: |
| 33 void AddScrollListInfoItem(const base::string16& text); | 32 void AddScrollListInfoItem(const base::string16& text); |
| 34 | 33 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 51 chromeos::AudioDeviceList input_devices_; | 50 chromeos::AudioDeviceList input_devices_; |
| 52 AudioDeviceMap device_map_; | 51 AudioDeviceMap device_map_; |
| 53 | 52 |
| 54 DISALLOW_COPY_AND_ASSIGN(AudioDetailedView); | 53 DISALLOW_COPY_AND_ASSIGN(AudioDetailedView); |
| 55 }; | 54 }; |
| 56 | 55 |
| 57 } // namespace tray | 56 } // namespace tray |
| 58 } // namespace ash | 57 } // namespace ash |
| 59 | 58 |
| 60 #endif // ASH_SYSTEM_CHROMEOS_AUDIO_AUDIO_DETAILED_VIEW_H_ | 59 #endif // ASH_SYSTEM_CHROMEOS_AUDIO_AUDIO_DETAILED_VIEW_H_ |
| OLD | NEW |