aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_traits
diff options
context:
space:
mode:
authorOJ Kwon <kwon.ohjoong@gmail.com>2018-04-17 19:46:02 -0700
committerOJ Kwon <kwon.ohjoong@gmail.com>2018-04-18 11:39:33 -0700
commit61b4a891bb188835842683800d6e97cecfd81609 (patch)
tree4d722f5f0403022842eb11eda7b4280919b65ce2 /components/script_traits
parent5574b4212632dfbf661a7813ccd9cc670c23a0d0 (diff)
downloadservo-61b4a891bb188835842683800d6e97cecfd81609.tar.gz
servo-61b4a891bb188835842683800d6e97cecfd81609.zip
refactor(bluetooth): uses embedderproxy directly
Diffstat (limited to 'components/script_traits')
-rw-r--r--components/script_traits/lib.rs2
-rw-r--r--components/script_traits/script_msg.rs7
2 files changed, 1 insertions, 8 deletions
diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs
index 316f4bc128e..d270d87a50c 100644
--- a/components/script_traits/lib.rs
+++ b/components/script_traits/lib.rs
@@ -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.
diff --git a/components/script_traits/script_msg.rs b/components/script_traits/script_msg.rs
index 65829b02406..43812ad097a 100644
--- a/components/script_traits/script_msg.rs
+++ b/components/script_traits/script_msg.rs
@@ -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>>)
-}