Commit Graph

16 Commits

Author SHA1 Message Date
hensm
14d3b2c833 Fix unused parameters 2019-08-16 21:12:44 +01:00
Matt Hensman
ba8c28bf39 Restructure background script (#70)
Splits some background script functionality into separate modules:
 - Receiver selector handling is moved to ./SelectorManager.
 - Status bridge handling is moved to ./StatusManager.
 - Menu creation and updates are handled in ./createMenus.
 - Shim creation is handled in ./createShim.

TypedEventTarget allows EventTarget-derived classes to export typed events.

Options type definition is moved to ./lib/options, module assumes more responsibility for update handling and provides a "changed" event.

Private cast._requestSession method allows bypassing receiver selector.
2019-07-26 00:09:51 +01:00
hensm
98656874f1 Fix webcomponents polyfill loading 2019-07-02 05:08:49 +01:00
hensm
0a9af09419 Clean up shim initialization 2019-06-19 01:39:19 +01:00
hensm
2c1fb64680 Move all Google endpoint URLs to a separate module 2019-06-14 19:27:15 +01:00
hensm
0427e08b6a Convert mediaCast sender to typescript 2019-06-14 12:49:10 +01:00
hensm
d0129f66b7 Fix __onGCastApiAvailable being called early 2019-03-21 14:37:36 +00:00
hensm
2a327573da Add webcomponents polyfill and load official framework API script 2019-03-20 20:26:30 +00:00
hensm
04bf7a209d Add <google-cast-launcher> custom element + misc changes 2019-03-20 19:35:25 +00:00
hensm
eced518334 Fix shim regression 2019-03-20 11:17:41 +00:00
hensm
7da84505b7 Expose types via cast/media exports 2019-03-19 19:16:02 +00:00
hensm
894738889a Minor cast.framework changes 2019-03-19 18:35:25 +00:00
hensm
270d661de0 Add stubbed cast.framework API implementation 2019-03-19 16:32:09 +00:00
hensm
e3c9df8568 Move media directory under cast 2019-03-19 11:24:39 +00:00
hensm
18061afa8e Fix shim regression 2019-03-17 06:45:58 +00:00
Matt Hensman
f1125061d5 Convert shim to Typescript (#32) 2019-03-12 05:51:43 +00:00