[PiP] Do not create session if error

Do not create a PictureInPictureSession if there was
an error from the embedder. This should reject the
promise from Blink too.

Also, moves the EmbedSurface and Show controls out
of //chrome and into //content where we can setup
the PictureInPictureWindowController in one place.

BUG=953957

Change-Id: I75e3cc803896c805262fd82753d11face4199a89
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1663009
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Mounir Lamouri <mlamouri@chromium.org>
Commit-Queue: Becca Hughes <beccahughes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671413}
7 files changed