DescriptionAdd content public APIs for Presentation API.
The pieces added are as follows:
1. PresentationServiceDelegate: An interface to be implemented by an
embedder to handle Presentation API requests. Includes an Observer
interface to observe the lifetime of the delegate object.
2. PresentationScreenAvailabilityListener: An interface to be
implemented by content/ code to receive screen availability results
from the embedder.
3. Added method to ContentBrowserClient: GetPresentationServiceDelegate.
Returns nullptr by default. Embedder may override it with an
implementation that can handle Presentation API requests. Added to
allow content/ code to obtain a reference to a
PresentationServiceDelegate to forward presentation API requests to.
Presentation Mojo service patch: crrev.com/839773002/
Blink plumbing: crrev.com/832263007
The Chrome implementation of PresentationServiceDelegate is currently
in a private repo.
BUG=412331
Committed: https://crrev.com/11c9dde535c6b288d6a65f2ee5dfc0efd6a970d4
Cr-Commit-Position: refs/heads/master@{#313563}
Patch Set 1 : Initial patch #
Total comments: 4
Patch Set 2 : Addressed Avi's comments #
Total comments: 4
Patch Set 3 : Removed presentation_url #
Messages
Total messages: 15 (5 generated)
|