WebAPI/PresentationAPI: Difference between revisions

→‎Architecture: add architecture diagram
(Create architecture section)
(→‎Architecture: add architecture diagram)
Line 71: Line 71:
== Architecture ==
== Architecture ==
Here is the high-level architecture overview of Presentation API.
Here is the high-level architecture overview of Presentation API.
<div style="float: right; margin: 0px 0px 10px 25px;">[[File:Presentation_API_Architecture_overview.svg|Architecture overview of Presentation API]]</div>


=== WebIDL Implementation ===
=== WebIDL Implementation ===
* provide the WebAPI interface
* Provide the WebAPI interface
=== Core Service ===
=== Core Service ===
* maintain the session state and app-to-app transportation channel
* Maintain the session state and app-to-app transportation channel
* handle the session setup procedure
* Handle the session setup procedure
* lives in chrome process
* Live in chrome process
=== Device Manager ===
=== Device Manager ===
* automatically loading registered device provider at start-up
* Load registered device provider at start-up automatically
* providing device list and firing availability event
* Provide device list and firing availability event
* lives in chrome process
* Live in chrome process
=== Device Provider ===
=== Device Provider ===
* implement device discovery mechanism
* Implement device discovery mechanism
* handle control channel setup procedure
* Handle control channel setup procedure
* lives in chrome process
* Live in chrome process
=== Browser/System UI Glue ===
=== Browser/System UI Glue ===
* handling device selection and application launch
* Handle device selection and application launch
* lives in chrome process
* Live in chrome process


== Development Plan ==
== Development Plan ==
Confirmed users
216

edits