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

Side by Side Diff: ash/common/system/audio/volume_view.h

Issue 2477463003: Replace ui::AXViewState with AXNodeData and AXActionData (Closed)
Patch Set: Fix test Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « ash/common/shelf/shelf_view.cc ('k') | ash/common/system/audio/volume_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « ash/common/shelf/shelf_view.cc ('k') | ash/common/system/audio/volume_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698