mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
feat(constellation): add handler for scriptmsg
This commit is contained in:
parent
6fa74133dd
commit
5574b42126
1 changed files with 7 additions and 2 deletions
|
@ -931,8 +931,13 @@ impl<Message, LTF, STF> Constellation<Message, LTF, STF>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn handle_request_from_bluetoothmanager(&mut self, message:BluetoothManagerMsg) {
|
fn handle_request_from_bluetoothmanager(&mut self, message: BluetoothManagerMsg) {
|
||||||
|
match message {
|
||||||
|
BluetoothManagerMsg::OpenDeviceSelectDialog(devices, sender) => {
|
||||||
|
let msg = EmbedderMsg::GetSelectedBluetoothDevice(devices, sender);
|
||||||
|
self.embedder_proxy.send(msg);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn handle_request_from_compositor(&mut self, message: FromCompositorMsg) {
|
fn handle_request_from_compositor(&mut self, message: FromCompositorMsg) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue