| 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_COMMON_SYSTEM_AUDIO_VOLUME_VIEW_H_ | 5 #ifndef ASH_COMMON_SYSTEM_AUDIO_VOLUME_VIEW_H_ |
| 6 #define ASH_COMMON_SYSTEM_AUDIO_VOLUME_VIEW_H_ | 6 #define ASH_COMMON_SYSTEM_AUDIO_VOLUME_VIEW_H_ |
| 7 | 7 |
| 8 #include "ash/common/system/tray/actionable_view.h" | 8 #include "ash/common/system/tray/actionable_view.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "ui/gfx/font.h" | 10 #include "ui/gfx/font.h" |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 float value, | 53 float value, |
| 54 float old_value, | 54 float old_value, |
| 55 views::SliderChangeReason reason) override; | 55 views::SliderChangeReason reason) override; |
| 56 | 56 |
| 57 // Overriden from ActionableView. | 57 // Overriden from ActionableView. |
| 58 bool PerformAction(const ui::Event& event) override; | 58 bool PerformAction(const ui::Event& event) override; |
| 59 void ButtonPressed(views::Button* sender, const ui::Event& event) override; | 59 void ButtonPressed(views::Button* sender, const ui::Event& event) override; |
| 60 | 60 |
| 61 // views::View: | 61 // views::View: |
| 62 void OnBoundsChanged(const gfx::Rect& previous_bounds) override; | 62 void OnBoundsChanged(const gfx::Rect& previous_bounds) override; |
| 63 void GetAccessibleState(ui::AXViewState* state) override; | 63 void GetAccessibleNodeData(ui::AXNodeData* node_data) override; |
| 64 | 64 |
| 65 system::TrayAudioDelegate* audio_delegate_; | 65 system::TrayAudioDelegate* audio_delegate_; |
| 66 views::View* more_region_; | 66 views::View* more_region_; |
| 67 VolumeButton* icon_; | 67 VolumeButton* icon_; |
| 68 views::Slider* slider_; | 68 views::Slider* slider_; |
| 69 views::Separator* separator_; | 69 views::Separator* separator_; |
| 70 views::ImageView* device_type_; | 70 views::ImageView* device_type_; |
| 71 views::ImageView* more_; | 71 views::ImageView* more_; |
| 72 bool is_default_view_; | 72 bool is_default_view_; |
| 73 | 73 |
| 74 DISALLOW_COPY_AND_ASSIGN(VolumeView); | 74 DISALLOW_COPY_AND_ASSIGN(VolumeView); |
| 75 }; | 75 }; |
| 76 | 76 |
| 77 } // namespace tray | 77 } // namespace tray |
| 78 } // namespace ash | 78 } // namespace ash |
| 79 | 79 |
| 80 #endif // ASH_COMMON_SYSTEM_AUDIO_VOLUME_VIEW_H_ | 80 #endif // ASH_COMMON_SYSTEM_AUDIO_VOLUME_VIEW_H_ |
| OLD | NEW |