• Ahmed Fakhry's avatar
    Per-desk Shelf application menus · 1b6ea0be
    Ahmed Fakhry authored
    When there are multiple running instances of the same
    app, left clicking its icon on the shelf will display
    an application menu showing an item for each instance
    from which users can select which instance to activate.
    
    When the kPerDeskShelf feature in enabled, this list
    should be filtered to show only running instances in
    the current active desk. This is done via giving the
    ShelfItemDelegate a filter_predicate to exclude the
    apps belonging to other desks.
    
    BUG=997102
    TEST=Manually, browser_tests --gtest_filter=*PerDeskShelfAppBrowserTest.AppMenus*
    
    Change-Id: I8d70586a1ad638a42e6aa71378a55007c6b8dabb
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2258902
    Commit-Queue: Ahmed Fakhry <afakhry@chromium.org>
    Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
    Reviewed-by: default avatarAlex Newcomer <newcomer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#786594}
    1b6ea0be
window_watcher_shelf_item_delegate.cc 1.51 KB