window-service: makes WindowTree::AddTransientChild use WindowParentingClient
This gives similar behavior to NativeWidgetAura, where it calls to the WindowParentingClient from init. This is necessary to ensure the right parent is picked up for transients created from the lock screen. In such a scenario the transient needs to be placed in the lock screen container. That was previously done by way of NativeWidgetAura calling to ParentWindowWithContext(). This gives similar behavior. BUG=945281 TEST=covered by test Change-Id: Id4ad2c5485988be05c256e8a38358790aff89948 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1540278Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#644526}
Showing
Please register or sign in to comment