mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Moving MouseButton from msg to script_traits
This commit is contained in:
parent
b26c7bd7ea
commit
374bd5be27
13 changed files with 31 additions and 25 deletions
|
@ -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>),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue