Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
parent
93e3a48004
commit
b38dea0597
25901 changed files with 9982925 additions and 369 deletions
11
host/actors/VulpesParent.sys.mjs
Normal file
11
host/actors/VulpesParent.sys.mjs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import { Runtime } from 'resource://vulpes/host/Runtime.sys.mjs';
|
||||
export class VulpesParent extends JSWindowActorParent {
|
||||
receiveMessage(message) {
|
||||
if(message.name==='Vulpes:InputFocus') {Runtime.input.changed(this,message.data);return;}
|
||||
if (message.name !== 'Vulpes:Request') throw new Error('Unknown host message');
|
||||
return Runtime.request(this, message.data);
|
||||
}
|
||||
didDestroy() {
|
||||
Runtime.cleanup(this);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue