mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Moving MouseEventType from msg to script_traits
This commit is contained in:
parent
a5a7a8318c
commit
a2bf5b6b51
6 changed files with 22 additions and 17 deletions
|
@ -200,13 +200,6 @@ bitflags! {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Deserialize, HeapSizeOf, Serialize)]
|
||||
pub enum MouseEventType {
|
||||
Click,
|
||||
MouseDown,
|
||||
MouseUp,
|
||||
}
|
||||
|
||||
/// The mouse button involved in the event.
|
||||
#[derive(Clone, Copy, Debug, Deserialize, Serialize)]
|
||||
pub enum MouseButton {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue