[Picture in Picture] Handle ending Picture-in-Picture from user gesture.
This consolidates some of the similar exit-Picture-in-Picture behavior from both WebMediaPlayerImpl and PictureInPictureWindowController sides. When exiting from WMPI, we need to run an additional callback to signal that the window should be closed. From user gesture, the window tear down has already been handled. BUG: 823172 Change-Id: I4ee6e03a519a7564f7eb8b195f2dc7ddeacf4a88 Reviewed-on: https://chromium-review.googlesource.com/1012521 Commit-Queue: apacible <apacible@chromium.org> Reviewed-by:Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/master@{#551224}
Showing
Please register or sign in to comment