mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
refactor(bluetooth): uses embedderproxy directly
This commit is contained in:
parent
5574b42126
commit
61b4a891bb
7 changed files with 46 additions and 67 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::{BluetoothManagerMsg, ServiceWorkerMsg, ScopeThings, SWManagerMsg, SWManagerSenders, DOMMessage};
|
||||
pub use script_msg::{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,10 +213,3 @@ 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