Add window controller for Picture in Picture

Desktop / Chromium - Jennifer Apacible [] - 9 October 2017 16:38 EDT

This change adds an overall controller for the picture in picture window. This class will control creation/destruction of the window, as well as embedding the appropriate surface for showing media content (future patch).

This controller is currently created per-WebContents, rather than per Browser instance or Browser window. This behavior is still being determined and will be updated. Tests will be added when this is more fleshed out.

Bug: 726621 Change-Id: Id952b983a9bfdfaa90b154576b37143121e666ef Reviewed-on: Commit-Queue: apacible

3cf6ae8 Add window controller for Picture in Picture.
chrome/browser/ | 2 +
.../ | 47 +++++++++++++++++++++
.../picture_in_picture_window_controller.h | 49 ++++++++++++++++++++++
3 files changed, 98 insertions(+)


  • Share