| Index: ash/common/system/tray/tray_popup_utils.h
|
| diff --git a/ash/common/system/tray/tray_popup_utils.h b/ash/common/system/tray/tray_popup_utils.h
|
| index 20fd4030720192915258588724863ed88b9ec030..bc1b49a89a0e2c6d36f5204a2072a3e622f86cad 100644
|
| --- a/ash/common/system/tray/tray_popup_utils.h
|
| +++ b/ash/common/system/tray/tray_popup_utils.h
|
| @@ -46,6 +46,17 @@ class TrayPopupUtils {
|
| // The CENTER container has a flexible width.
|
| static TriView* CreateDefaultRowView();
|
|
|
| + // Creates a container view to be used by system menu sub-section header rows.
|
| + // The caller takes over ownership of the created view.
|
| + //
|
| + // The returned view consists of 2 regions: CENTER, and END having the same
|
| + // properties as when using |CreateMultiTargetRowView|. The START container is
|
| + // hidden.
|
| + // The END container has a fixed minimum width but can grow into the CENTER
|
| + // container if space is required and available. The CENTER container has a
|
| + // flexible width.
|
| + static TriView* CreateSubHeaderRowView();
|
| +
|
| // Creates a container view to be used by system menu rows that want to embed
|
| // a targetable area within one (or more) of the containers OR by any row
|
| // that requires a non-default layout within the container views. The returned
|
| @@ -169,6 +180,11 @@ class TrayPopupUtils {
|
| // ownership of the returned separator.
|
| static views::Separator* CreateListItemSeparator(bool left_inset);
|
|
|
| + // Creates and returns a horizontal separator line to be drawn between rows
|
| + // in a detailed view above the sub-header rows. Caller assumes ownership of
|
| + // the returned separator.
|
| + static views::Separator* CreateListSubHeaderSeparator();
|
| +
|
| // Returns true if it is possible to open WebUI settings in a browser window,
|
| // i.e., the user is logged in, not on the lock screen, and not in a secondary
|
| // account flow.
|
|
|