Skip the app windows opened for browsers.
For Chrome apps for Web apps, if the window is opened for a browser, we don't need to register app window, because BrowserShortcutLauncherItemController sets the window's property. If register app window for the app opened with browser, the window is added to aura_window_to_app_window_, and when the window is destroyed, it could cause crash in RemoveFromShelf, because BrowserShortcutLauncherItemController manages the window, and sets related window properties, so it could cause the conflict settings. BUG=1011235 Change-Id: I80cd22dad1085a49ea30dc4f3b3a732c7924a834 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1937951 Commit-Queue: Nancy Wang <nancylingwang@chromium.org> Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/master@{#720774}
Showing
Please register or sign in to comment