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

Unified Diff: ash/system/tray/tri_view.h

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 | « ash/system/audio/volume_view.cc ('k') | ash/system/tray/tri_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/tri_view.h
diff --git a/ash/system/tray/tri_view.h b/ash/system/tray/tri_view.h
index 86359aa73ded2550bd679a77dac9cec2284b5fe2..ab145a3845771cd2339c18c84ed113ce8a5ce0e7 100644
--- a/ash/system/tray/tri_view.h
+++ b/ash/system/tray/tri_view.h
@@ -101,6 +101,7 @@ class ASH_EXPORT TriView : public views::View {
// Sets whether the |container| is visible. During a layout the space will be
// allocated to the visible containers only. i.e. non-visible containers will
// not be allocated any space.
+ // Note: This will cause a relayout.
void SetContainerVisible(Container container, bool visible);
// Sets the flex weight for the given |container|. Using the preferred size as
« no previous file with comments | « ash/system/audio/volume_view.cc ('k') | ash/system/tray/tri_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698