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

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

Issue 2831023003: Refactor AddScrollListItem() in system menu detailed views (Closed)
Patch Set: Cleanup 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/tray/tri_view.h
diff --git a/ash/system/tray/tri_view.h b/ash/system/tray/tri_view.h
index 86359aa73ded2550bd679a77dac9cec2284b5fe2..5c8ba61324ce2114fc4ebefd72ffb1d9a581fea3 100644
--- a/ash/system/tray/tri_view.h
+++ b/ash/system/tray/tri_view.h
@@ -85,6 +85,9 @@ class ASH_EXPORT TriView : public views::View {
// Adds the child |view| to the specified |container|.
void AddView(Container container, views::View* view);
+ // Remove the child |view| from the specified |container|.
+ void RemoveView(Container container, views::View* view);
+
// Removes all the children from the specified |container|. If
// |delete_children| is true, the views are deleted, unless marked as not
// parent owned.

Powered by Google App Engine
This is Rietveld 408576698