[CrOS MultiDevice]: Fix bug in settings UI page
The basic settings page (via MainPageBehavior) searches its children for settings-sections to hide when it expands a subpage. Because CL https://chromium-review.googlesource.com/c/chromium/src/+/1105185 pushed the multidevice settings-section down the DOM tree, it is no longer automatically hidden. To avoid dealing with the /deep/ selector (see https://bugs.chromium.org/p/chromium/issues/detail?id=852098) I just had the basic page take page expansion into account directly when deciding whether to attach the multidevice-settings-section-container. Bug: 854400 Cq-Include-Trybots: luci.chromium.try:closure_compilation Change-Id: I89e08e5af79163146737d7ae5a9637536cb032c2 Reviewed-on: https://chromium-review.googlesource.com/1107168 Commit-Queue: Jordy Greenblatt <jordynass@chromium.org> Reviewed-by:Steven Bennetts <stevenjb@chromium.org> Reviewed-by:
Michael Giuffrida <michaelpg@chromium.org> Cr-Commit-Position: refs/heads/master@{#568711}
Showing
Please register or sign in to comment