Revert "MacPWAs: Reparent tabs when installing PWAs"

This reverts commit 96b864cc836925ac0756772dcf1d7435205767c6.

Reason for revert: This sometimes results in mangled .app bundles, needs a cleaner solution.

Original change's description:
> MacPWAs: Reparent tabs when installing PWAs
> 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: 915571
> Change-Id: Ifaf507525729a9a168e821f722aee03e9f6dd8f4
> Reviewed-on:
> Reviewed-by: Ben Wells <>
> Reviewed-by: Dominick Ng <>
> Commit-Queue: ccameron <>
> Cr-Commit-Position: refs/heads/master@{#627151},,

(cherry picked from commit 2f3e91514eedb892cde115b7a0dffa75c3b6dc69)

Bug: 859152
Change-Id: I6460da08a6dfb8f3e68218ecc19216773062458a
Reviewed-by: ccameron <>
Commit-Queue: ccameron <>
Cr-Original-Commit-Position: refs/heads/master@{#628465}
Cr-Commit-Position: refs/branch-heads/3683@{#137}
Cr-Branched-From: e51029943e0a38dd794b73caaf6373d5496ae783-refs/heads/master@{#625896}
2 files changed