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

Side by Side Diff: ash/system/audio/tray_audio.h

Issue 2041233005: Moves ash::user::LoginStatus to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test Created 4 years, 6 months 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/shell_observer.h ('k') | ash/system/audio/tray_audio.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_SYSTEM_AUDIO_TRAY_AUDIO_H_ 5 #ifndef ASH_SYSTEM_AUDIO_TRAY_AUDIO_H_
6 #define ASH_SYSTEM_AUDIO_TRAY_AUDIO_H_ 6 #define ASH_SYSTEM_AUDIO_TRAY_AUDIO_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 // True if VolumeView should be created for accelerator pop up; 49 // True if VolumeView should be created for accelerator pop up;
50 // Otherwise, it should be created for detailed view in ash tray bubble. 50 // Otherwise, it should be created for detailed view in ash tray bubble.
51 bool pop_up_volume_view_; 51 bool pop_up_volume_view_;
52 52
53 private: 53 private:
54 // Overridden from TrayImageItem. 54 // Overridden from TrayImageItem.
55 bool GetInitialVisibility() override; 55 bool GetInitialVisibility() override;
56 56
57 // Overridden from SystemTrayItem. 57 // Overridden from SystemTrayItem.
58 views::View* CreateDefaultView(user::LoginStatus status) override; 58 views::View* CreateDefaultView(LoginStatus status) override;
59 views::View* CreateDetailedView(user::LoginStatus status) override; 59 views::View* CreateDetailedView(LoginStatus status) override;
60 void DestroyDefaultView() override; 60 void DestroyDefaultView() override;
61 void DestroyDetailedView() override; 61 void DestroyDetailedView() override;
62 bool ShouldHideArrow() const override; 62 bool ShouldHideArrow() const override;
63 bool ShouldShowShelf() const override; 63 bool ShouldShowShelf() const override;
64 64
65 // Overridden from AudioObserver. 65 // Overridden from AudioObserver.
66 void OnOutputNodeVolumeChanged(uint64_t node_id, double volume) override; 66 void OnOutputNodeVolumeChanged(uint64_t node_id, double volume) override;
67 void OnOutputMuteChanged(bool mute_on, bool system_adjust) override; 67 void OnOutputMuteChanged(bool mute_on, bool system_adjust) override;
68 void OnAudioNodesChanged() override; 68 void OnAudioNodesChanged() override;
69 void OnActiveOutputNodeChanged() override; 69 void OnActiveOutputNodeChanged() override;
70 void OnActiveInputNodeChanged() override; 70 void OnActiveInputNodeChanged() override;
71 71
72 void ChangeInternalSpeakerChannelMode(); 72 void ChangeInternalSpeakerChannelMode();
73 73
74 DISALLOW_COPY_AND_ASSIGN(TrayAudio); 74 DISALLOW_COPY_AND_ASSIGN(TrayAudio);
75 }; 75 };
76 76
77 } // namespace ash 77 } // namespace ash
78 78
79 #endif // ASH_SYSTEM_AUDIO_TRAY_AUDIO_H_ 79 #endif // ASH_SYSTEM_AUDIO_TRAY_AUDIO_H_
OLDNEW
« no previous file with comments | « ash/shell_observer.h ('k') | ash/system/audio/tray_audio.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698