hensm
0ca39af1d6
Handle missing volume in status messages
2019-08-16 03:20:00 +01:00
hensm
0fa1f63576
Only import ShimManager into shim/export.ts if run from background
2019-07-29 11:51:31 +01:00
hensm
8c9ac7b1d5
Move some background modules to a separate folder and fix init order
2019-07-28 06:18:13 +01:00
hensm
9e196465e5
Allow mediaCast sender to run in background context
2019-07-27 07:57:49 +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
a62cb01e97
Update blank metadata values from null to undefined to match Chrome
2019-07-14 09:46:05 +01:00
hensm
615f158832
Add file media type to receiver selectors
2019-07-09 16:05:01 +01:00
hensm
70e05566fa
Add availableMediaTypes bitmask to receiver selector open method
2019-07-09 10:56:55 +01:00
hensm
43fcd5b351
Fix mirror sender and use getDisplayMedia
2019-07-07 10:35:52 +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
e53b220cfc
Remove unnecessary timeouts module
2019-06-14 18:46:42 +01:00
hensm
03a66ea73e
Remove unnecessary state module
2019-06-14 18:09:20 +01:00
hensm
bfc09376d1
Convert mirroringCast sender to typescript
2019-06-14 13:41:55 +01:00
hensm
0427e08b6a
Convert mediaCast sender to typescript
2019-06-14 12:49:10 +01:00
hensm
3d6c1e8891
Rename ReceiverSelectorManager -> ReceiverSelector
2019-06-13 20:11:47 +01:00
hensm
8ad20a7aea
TSLint compliance
2019-05-02 06:17:31 +01:00
hensm
cd7248eefd
Use receiver selector manager
2019-05-02 06:17:31 +01:00
hensm
01546e81dd
Add initial status bridge implementation
2019-05-02 06:17:31 +01:00
hensm
c70c3ce7d8
Improve session message handling
2019-03-21 21:07:37 +00:00
hensm
6cbe079a91
Fix recursion
2019-03-21 15:15:16 +00: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
77162c794f
TSLint compliance
2019-03-20 13:33:47 +00:00
hensm
eced518334
Fix shim regression
2019-03-20 11:17:41 +00:00
hensm
a99c6d2a7e
Fix duplicate class names
2019-03-20 09:29:39 +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
89fc20f6a3
Remove unnecessary enums directories
2019-03-19 16:31:14 +00:00
hensm
0449e3cdf3
TSLint compliance
2019-03-19 16:30:37 +00:00
hensm
38f9db8e7b
Shorten media export delcarations
2019-03-19 16:29:40 +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
hensm
a5e8361256
Fix update listeners not being called on updates
2019-03-16 13:21:57 +00:00
hensm
df5bcd597d
Make private API object properties inaccessible to page scripts
2019-03-16 13:13:25 +00:00
hensm
2fae7192b2
Minor API fixes
2019-03-16 09:13:25 +00:00
hensm
1a5f8b351e
Remove page script-accessible extension messaging
2019-03-15 16:39:28 +00:00
hensm
410d6a267b
Remove compat scripts and move API URL redirection to contentSetup
2019-03-14 09:42:00 +00:00
hensm
870a759251
Redirect cast extension chrome-extension:// URLs to regular API URL
2019-03-13 07:51:38 +00:00
hensm
c67a9a1097
TSLint compliance
2019-03-12 07:16:36 +00:00
Matt Hensman
f1125061d5
Convert shim to Typescript ( #32 )
2019-03-12 05:51:43 +00:00
hensm
ef00711f98
Rename bridge:discover to bridge:startDiscovery
2019-02-21 21:05:52 +00:00
hensm
d0ec312e9a
Replace instances of old name in debug messages
2019-02-15 07:33:36 +00:00
hensm
b8d28db36d
Add content-script-side functions to messageBridge
2019-02-15 03:28:28 +00:00
hensm
da17c6df0d
Change message subject format and rename some messages
2019-02-11 18:52:01 +00:00
hensm
53a16ccde7
Remove lax CSP/eval from production builds
2019-02-10 11:06:04 +00:00
hensm
1c55b67922
Restructure shim/bridge initialization steps
2019-02-10 06:31:31 +00:00