• Christopher Cameron's avatar
    MacPWAs: Reparent tabs when installing PWAs · 96b864cc
    Christopher Cameron authored
    This works now. When re-parenting the window, the initial attempt to
    re-parent the window fails, because the PWA's bundle has not yet
    been created. The second attempt then re-creates the bundle and
    succeeds. This is a bit kludgey in that it is possible that the bundle
    will be recreated twice.
    
    A cleaner solution would be to delay reparenting the contents and
    revealing the app in Finder until the app has been created, but that
    solution may not be suitable for merge.
    
    Bug: 859152
    Change-Id: Ifaf507525729a9a168e821f722aee03e9f6dd8f4
    Reviewed-on: https://chromium-review.googlesource.com/c/1438037Reviewed-by: default avatarBen Wells <benwells@chromium.org>
    Reviewed-by: default avatarDominick Ng <dominickn@chromium.org>
    Commit-Queue: ccameron <ccameron@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#627151}
    96b864cc
bookmark_app_helper.cc 22.8 KB