Moving MouseButton from msg to script_traits

This commit is contained in:
Darin Minamoto 2016-01-11 14:43:19 -08:00
parent b26c7bd7ea
commit 374bd5be27
13 changed files with 31 additions and 25 deletions

View file

@ -200,17 +200,6 @@ bitflags! {
}
}
/// The mouse button involved in the event.
#[derive(Clone, Copy, Debug, Deserialize, Serialize)]
pub enum MouseButton {
/// The left mouse button.
Left,
/// The middle mouse button.
Middle,
/// The right mouse button.
Right,
}
#[derive(Deserialize, Serialize)]
pub enum WebDriverCommandMsg {
LoadUrl(PipelineId, LoadData, IpcSender<LoadStatus>),