• Jordy Greenblatt's avatar
    [CrOS MultiDevice]: Allow settings UI page to detach itself from DOM · 001e5c67
    Jordy Greenblatt authored
    The "multidevice" settings-section is only suppose to appear when the
    Chrombook has a potential host. This information comes from a mojo
    call on that takes place further down the DOM tree than the basic-page
    element so the connected devices infrastructure must itself be able to
    detach any significant elements based on the results of the mojo call.
    By wrapping the entire multidevice settings-section element in a
    separate container element, we can make the container keep the entire
    section from the DOM without tinkering further up the tree.
    
    Change-Id: I766164a2d04ea42f77bb0c101a17c2e1eadad016
    Cq-Include-Trybots: luci.chromium.try:closure_compilation
    Reviewed-on: https://chromium-review.googlesource.com/1105185Reviewed-by: default avatarKyle Horimoto <khorimoto@chromium.org>
    Reviewed-by: default avatarSteven Bennetts <stevenjb@chromium.org>
    Commit-Queue: Jordy Greenblatt <jordynass@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#568518}
    001e5c67
basic_page.html 12.8 KB