Last active
August 29, 2015 14:16
-
-
Save yurydelendik/cabbdd66dcf1b10c12a3 to your computer and use it in GitHub Desktop.
Shumway Extension Sandboxes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+----------------------------------------------------------------------------------------------+ | |
| <iframe src=chrome://shumway/content/viewer.wrapper.html> | | |
| | | |
| +-------------------------------------------------------------+ | | |
| | <iframe src=resource://shumway/web/viewer.html> | | | |
| | | | | |
| | | | | |
| | +----------+ | | | |
| | | <canvas> | | | | |
+--------------+ | | +----------+ | | | |
| page.html | | | +------------+ | | | |
| | | +----+ | +---------+ | mouse / | | | | |
| +--+ | | | | | <video> | | keyboard | | | | |
| |EI<----+----+ | +-v---------+ +--+ +---------+ +------------+ | | | |
| +--+ | | |+-|SCA (gfx) <------->SC| | | | |
| | | | || +----------^+ +--+ | | | |
| | | | || | | | ^ | | | |
| | | | || | | | | | |
| | | | || | | | | | | | |
| | | | || ++ | | | | |
| | | | || | | +---------v-+---------------------------------------------+ | | | |
| | | | || | | | <iframe src=resource://shumway/web/viewer.player.html | | | | |
| | | | ++---+ | | | sanbox=allows-script> | | | | |
| | | | || | | | | | | | | |
+--------------+ | | || +-v-----------+ | +--+ | | | | |
| | |+-|SCA (player) <-----+->SC| | | | | |
| | || +-------------+ | +--+ | | | | |
EI - external | | || | | | | | | |
interface | | || | | | | | | |
SC - ShumwayCom | +-v---v----------------+ | | | | | | |
SCA - ShumwayCom | |ShumwayChromeActions | | | | | | | |
adapter | +----------------------+ | | +-------------+ | | | | |
MSE - Media Source | |getBoolPref | | | | Web Audio | | | | | |
Extensions | |getPluginParams | | | +---------+ +-------------+ | | | | |
| |loadFile | | | | MSE | | | | | |
| |setClipboard | | | +---------+ | | | | |
| |setFullscreen | | | | | | | |
| |externalCom | | | +-----------+ | | | | |
| |. . . | | | | <audio> | | | | | |
| | | | | +-----------+ | | | | |
| | | | | | | | | |
| +----------------------+ | +---------------------------------------------------------+ | | | |
| +-------------------------------------------------------------+ | | |
+----------------------------------------------------------------------------------------------+ | |
+--------------------------+ +------------------------------------------------------------------+ | |
| <iframe | | | | |
|src=chrome://shumway/conte| | | | |
| nt/viewer.wrapper.html> | | +---------------------------------------------------+ | | |
| | | | <iframe src=resource://shumway/web/viewer.html | | | |
| | | | mozbrowser> | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
+--------------+ | | | | +----------------------------------------------+ | | | |
| page.html | | | | | | <iframe | | | | |
| | | | | | |src=resource://shumway/web/viewer.player.html | | | | |
| +--+ | | | | | sanbox=allows-script> | | | | |
| |EI<----+-------+ | | | | | | | | |
| +--+ | | | | | | | | | | |
| | | | | | | | | | | | |
| | | +----v-----------------+| | | | | | | | |
| | | |ShumwayChromeActions || | | | +--+ | | | | |
| | | +----------------------+| | | | |SC| | | | | |
| | | |getBoolPref || | | +---------------------------------------+^-+---+ | | | |
| | | |getPluginParams || | | +--+ | | | | |
| | | |loadFile || | | |SC| | | | | |
| | | |setClipboard || | +----------------------+-^+-----------------+-------+ | | |
| | | |setFullscreen || | | | | | |
+--------------+ | |externalCom || | | | | | |
| |. . . || | | | | | |
| | || | | | | | |
| | || | +-----------+ | | | | |
| +------^---------------+| | +----->|SCA (gfx) <------+ | | | |
| | | | | | +----------^+ | | | |
| | | +-------+-+-----+ | | | | | |
| | +--------> messages |<----+ | | | | |
| | +-------+-+-----+ | +-------------+ | | | |
| | | | +---->|SCA (player) <------------------------+ | | |
| | | | +---------^---+ | | |
| | +--------+ | | | | | |
| +-------->|EIA CPOW|--+-+---------------------------+ | | |
| +--------+ | | | | |
+--------------------------+ +------------------------------------------------------------------+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment