From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- .../pictureinpicture/docs/PiP-diagram.svg | 4 + toolkit/components/pictureinpicture/docs/index.rst | 385 +++++++++++++++++++++ .../docs/picture-in-picture-api.rst | 4 + .../pictureinpicture/docs/player-api.rst | 4 + 4 files changed, 397 insertions(+) create mode 100644 toolkit/components/pictureinpicture/docs/PiP-diagram.svg create mode 100644 toolkit/components/pictureinpicture/docs/index.rst create mode 100644 toolkit/components/pictureinpicture/docs/picture-in-picture-api.rst create mode 100644 toolkit/components/pictureinpicture/docs/player-api.rst (limited to 'toolkit/components/pictureinpicture/docs') diff --git a/toolkit/components/pictureinpicture/docs/PiP-diagram.svg b/toolkit/components/pictureinpicture/docs/PiP-diagram.svg new file mode 100644 index 0000000000..391cc7728a --- /dev/null +++ b/toolkit/components/pictureinpicture/docs/PiP-diagram.svg @@ -0,0 +1,4 @@ + +
Twitch
Twitch
https://www.twitch.tv
https://www.twitch.tv
Video
Video
Content process hosting the video

Content process hosting the video
videocontrols.js
videocontrols.js
MozTogglePictureInPicture chrome event
MozTogglePictureInPicture chrome event
JSWindowActor messaging
JSWindowActor messaging
PictureInPictureToggleChild
PictureInPictureToggleChild
JSWindowActor messaging
JSWindowActor messaging
PictureInPictureLauncherChild
PictureInPictureLauncherChild
PictureInPictureChild for player <video>
PictureInPictureChild for player <video>
PictureInPictureToggleParent
PictureInPictureToggleParent
PictureInPictureLauncherParent
PictureInPictureLauncherParent
PictureInPicture.jsm

PictureInPicture.jsm
Parent process
Parent process
player.xhtml / player.js - alwaysontop window
player.xhtml / player.js - alwaysontop wi...
remote <xul:browser> running in the same content process as
original video
remote <xul:browser> running in the same content process...
Player video
Player video
JSWindowActor
Messaging
JSWindowActor...
PictureInPictureParent
PictureInPictureParent
Services.ww.openWindow
Servic...
\ No newline at end of file diff --git a/toolkit/components/pictureinpicture/docs/index.rst b/toolkit/components/pictureinpicture/docs/index.rst new file mode 100644 index 0000000000..a5e255d4e3 --- /dev/null +++ b/toolkit/components/pictureinpicture/docs/index.rst @@ -0,0 +1,385 @@ +.. _components/pictureinpicture: + +================== +Picture-in-Picture +================== + +This component makes it possible for a ``