content::PictureInPictureResult WebContents::EnterPictureInPicture(
    content::WebContents* web_contents) {
#if BUILDFLAG(ENABLE_PICTURE_IN_PICTURE)
  return PictureInPictureWindowManager::GetInstance()
      ->EnterVideoPictureInPicture(web_contents);
#else
  return content::PictureInPictureResult::kNotSupported;
#endif
}
content::PictureInPictureResult WebContents::EnterPictureInPicture(
    content::WebContents* web_contents) {
#if BUILDFLAG(ENABLE_PICTURE_IN_PICTURE)
  return PictureInPictureWindowManager::GetInstance()
      ->EnterVideoPictureInPicture(web_contents);
#else
  return content::PictureInPictureResult::kNotSupported;
#endif
}