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

Unified Diff: ash/common/system/audio/volume_view.cc

Issue 2330403002: Do not activate system tray bubble by default (Closed)
Patch Set: Do not activate system tray bubble by default Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/common/system/audio/volume_view.h ('k') | ash/common/system/chromeos/bluetooth/tray_bluetooth.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/audio/volume_view.cc
diff --git a/ash/common/system/audio/volume_view.cc b/ash/common/system/audio/volume_view.cc
index ecaec61d15c0fe7822ec3832e3bac20d9a19e071..d0ccda5c2d794dc046643daf489793f710e97e28 100644
--- a/ash/common/system/audio/volume_view.cc
+++ b/ash/common/system/audio/volume_view.cc
@@ -123,7 +123,7 @@ class VolumeButton : public views::ToggleImageButton {
VolumeView::VolumeView(SystemTrayItem* owner,
system::TrayAudioDelegate* audio_delegate,
bool is_default_view)
- : owner_(owner),
+ : ActionableView(owner),
audio_delegate_(audio_delegate),
icon_(NULL),
slider_(NULL),
@@ -301,7 +301,7 @@ void VolumeView::SliderValueChanged(views::Slider* sender,
bool VolumeView::PerformAction(const ui::Event& event) {
if (!more_region_->visible())
return false;
- owner_->TransitionDetailedView();
+ owner()->TransitionDetailedView();
return true;
}
« no previous file with comments | « ash/common/system/audio/volume_view.h ('k') | ash/common/system/chromeos/bluetooth/tray_bluetooth.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698