mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
feat(constellation): expose msg for bluetooth thread
This commit is contained in:
parent
3695fc4efc
commit
c141090d61
4 changed files with 24 additions and 5 deletions
|
@ -73,7 +73,7 @@ use webrender_api::{ExternalScrollId, DevicePixel, DeviceUintSize, DocumentId, I
|
|||
use webvr_traits::{WebVREvent, WebVRMsg};
|
||||
|
||||
pub use script_msg::{LayoutMsg, ScriptMsg, EventResult, LogEntry};
|
||||
pub use script_msg::{ServiceWorkerMsg, ScopeThings, SWManagerMsg, SWManagerSenders, DOMMessage};
|
||||
pub use script_msg::{BluetoothManagerMsg, ServiceWorkerMsg, ScopeThings, SWManagerMsg, SWManagerSenders, DOMMessage};
|
||||
|
||||
/// The address of a node. Layout sends these back. They must be validated via
|
||||
/// `from_untrusted_node_address` before they can be used, because we do not trust layout.
|
||||
|
|
|
@ -213,3 +213,10 @@ pub enum SWManagerMsg {
|
|||
/// Provide the constellation with a means of communicating with the Service Worker Manager
|
||||
OwnSender(IpcSender<ServiceWorkerMsg>),
|
||||
}
|
||||
|
||||
/// Messages outgoing from the Bluetooth Manager thread to constellation
|
||||
#[derive(Deserialize, Serialize)]
|
||||
pub enum BluetoothManagerMsg {
|
||||
/// Requesting to open device select dialog
|
||||
OpenDeviceSelectDialog(Vec<String>, IpcSender<Option<String>>)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue