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

Unified Diff: ash/system/brightness/tray_brightness.cc

Issue 2812223005: Display current output device icon in the floating volume row when switching output devices (Closed)
Patch Set: Address comments. Created 3 years, 8 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
Index: ash/system/brightness/tray_brightness.cc
diff --git a/ash/system/brightness/tray_brightness.cc b/ash/system/brightness/tray_brightness.cc
index 88a3d5d0acf2a1e57a63d7977f2c51c6d49a2217..9560b45abbea1eef6239ca005037eb72875bf7e4 100644
--- a/ash/system/brightness/tray_brightness.cc
+++ b/ash/system/brightness/tray_brightness.cc
@@ -117,9 +117,8 @@ BrightnessView::BrightnessView(bool default_view, double initial_percent)
SetVisible(Shell::Get()
->maximize_mode_controller()
->IsMaximizeModeWindowManagerEnabled());
- } else {
- tri_view->SetContainerVisible(TriView::Container::END, false);
}
+ tri_view->SetContainerVisible(TriView::Container::END, false);
tdanderson 2017/04/18 23:50:29 Nice catch, thanks!
}
BrightnessView::~BrightnessView() {

Powered by Google App Engine
This is Rietveld 408576698