• Manu Cornet's avatar
    CrOS: Delay shelf config init until after app list controller · 484b3bce
    Manu Cornet authored
    In the newest shelf redesign, the shelf size changes depending on
    whether the user is on the home screen or "in app". To make that work,
    we need to have the shelf config observe changes in app list visibility
    (from the app list controller). This change makes sure the shelf config
    initialization happens after the app list controller is instantiated,
    so that the shelf config can add itself as an observer in a future CL.
    
    Bug: 982512
    Change-Id: I6889156bf1c5aa06972dbeb304bd468afbadf12e
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1816819
    Auto-Submit: Manu Cornet <manucornet@chromium.org>
    Commit-Queue: Xiyuan Xia <xiyuan@chromium.org>
    Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#698481}
    484b3bce
shell.cc 49.4 KB