Chromium Code Reviews| Index: ash/system/tray/tray_popup_utils.cc |
| diff --git a/ash/system/tray/tray_popup_utils.cc b/ash/system/tray/tray_popup_utils.cc |
| index d5bdd0a69e1abc1c8e05e6287ca0868c2c26de7c..b883d874182ee262d2820160b6fb1b03e6e9b6b6 100644 |
| --- a/ash/system/tray/tray_popup_utils.cc |
| +++ b/ash/system/tray/tray_popup_utils.cc |
| @@ -174,10 +174,12 @@ TriView* TrayPopupUtils::CreateDefaultRowView() { |
| return tri_view; |
| } |
| -TriView* TrayPopupUtils::CreateSubHeaderRowView() { |
| +TriView* TrayPopupUtils::CreateSubHeaderRowView(bool hide_start) { |
|
tdanderson
2017/04/24 15:43:39
I see you have made mention of this in your CL des
mohsen
2017/04/25 05:10:01
Well, I was not thinking of deleting this. Thought
|
| TriView* tri_view = CreateMultiTargetRowView(); |
| - tri_view->SetInsets(gfx::Insets(0, kTrayPopupPaddingHorizontal, 0, 0)); |
| - tri_view->SetContainerVisible(TriView::Container::START, false); |
| + if (hide_start) { |
| + tri_view->SetInsets(gfx::Insets(0, kTrayPopupPaddingHorizontal, 0, 0)); |
| + tri_view->SetContainerVisible(TriView::Container::START, false); |
| + } |
| tri_view->SetContainerLayout( |
| TriView::Container::END, |
| CreateDefaultLayoutManager(TriView::Container::END)); |