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

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

Issue 2932053003: [ash] Made TriView's re-layout automatically when a child container's visibility changes. (Closed)
Patch Set: Fixed compile error. Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/system/tray/tri_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/audio/volume_view.cc
diff --git a/ash/system/audio/volume_view.cc b/ash/system/audio/volume_view.cc
index 9d426359dfa6056383a15a66c70c48dcccac892e..1a7fad83d2e9c12c7787f2d79eab42a5e435eafc 100644
--- a/ash/system/audio/volume_view.cc
+++ b/ash/system/audio/volume_view.cc
@@ -174,9 +174,6 @@ void VolumeView::UpdateDeviceTypeAndMore() {
if (is_default_view_ && !audio_handler->has_alternative_output() &&
!audio_handler->has_alternative_input()) {
tri_view_->SetContainerVisible(TriView::Container::END, false);
- // TODO(tdanderson): TriView itself should trigger a relayout when the
- // visibility of one of its containers is changed.
- tri_view_->InvalidateLayout();
return;
}
« no previous file with comments | « no previous file | ash/system/tray/tri_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698