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

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

Issue 2491033006: Adjust positioning of cros tray bubbles. (Closed)
Patch Set: . 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
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_CHROMEOS_AUDIO_TRAY_AUDIO_H_ 5 #ifndef ASH_COMMON_SYSTEM_CHROMEOS_AUDIO_TRAY_AUDIO_H_
6 #define ASH_COMMON_SYSTEM_CHROMEOS_AUDIO_TRAY_AUDIO_H_ 6 #define ASH_COMMON_SYSTEM_CHROMEOS_AUDIO_TRAY_AUDIO_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 uint32_t changed_metrics) override; 44 uint32_t changed_metrics) override;
45 45
46 // Overridden from TrayImageItem. 46 // Overridden from TrayImageItem.
47 bool GetInitialVisibility() override; 47 bool GetInitialVisibility() override;
48 48
49 // Overridden from SystemTrayItem. 49 // Overridden from SystemTrayItem.
50 views::View* CreateDefaultView(LoginStatus status) override; 50 views::View* CreateDefaultView(LoginStatus status) override;
51 views::View* CreateDetailedView(LoginStatus status) override; 51 views::View* CreateDetailedView(LoginStatus status) override;
52 void DestroyDefaultView() override; 52 void DestroyDefaultView() override;
53 void DestroyDetailedView() override; 53 void DestroyDetailedView() override;
54 bool ShouldHideArrow() const override;
55 bool ShouldShowShelf() const override; 54 bool ShouldShowShelf() const override;
56 55
57 // Overridden from AudioObserver. 56 // Overridden from AudioObserver.
58 void OnOutputNodeVolumeChanged(uint64_t node_id, double volume) override; 57 void OnOutputNodeVolumeChanged(uint64_t node_id, double volume) override;
59 void OnOutputMuteChanged(bool mute_on, bool system_adjust) override; 58 void OnOutputMuteChanged(bool mute_on, bool system_adjust) override;
60 void OnAudioNodesChanged() override; 59 void OnAudioNodesChanged() override;
61 void OnActiveOutputNodeChanged() override; 60 void OnActiveOutputNodeChanged() override;
62 void OnActiveInputNodeChanged() override; 61 void OnActiveInputNodeChanged() override;
63 62
64 // Overridden from chromeos::PowerManagerClient::Observer. 63 // Overridden from chromeos::PowerManagerClient::Observer.
(...skipping 14 matching lines...) Expand all
79 bool pop_up_volume_view_; 78 bool pop_up_volume_view_;
80 79
81 tray::AudioDetailedView* audio_detail_view_; 80 tray::AudioDetailedView* audio_detail_view_;
82 81
83 DISALLOW_COPY_AND_ASSIGN(TrayAudio); 82 DISALLOW_COPY_AND_ASSIGN(TrayAudio);
84 }; 83 };
85 84
86 } // namespace ash 85 } // namespace ash
87 86
88 #endif // ASH_COMMON_SYSTEM_CHROMEOS_AUDIO_TRAY_AUDIO_H_ 87 #endif // ASH_COMMON_SYSTEM_CHROMEOS_AUDIO_TRAY_AUDIO_H_
OLDNEW
« no previous file with comments | « no previous file | ash/common/system/chromeos/audio/tray_audio.cc » ('j') | ash/common/system/tray/system_tray.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698