mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
compositing: Remove compositing_traits::MouseWindowEvent
(#36550)
This data structure is unused. Testing: No tests as this just removes dead code. Signed-off-by: Martin Robinson <mrobinson@igalia.com> Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
745a437fb1
commit
da4ea0f096
1 changed files with 1 additions and 9 deletions
|
@ -4,16 +4,8 @@
|
|||
|
||||
//! Abstract windowing methods. The concrete implementations of these can be found in `platform/`.
|
||||
|
||||
use embedder_traits::{EventLoopWaker, MouseButton};
|
||||
use embedder_traits::EventLoopWaker;
|
||||
use net::protocols::ProtocolRegistry;
|
||||
use webrender_api::units::DevicePoint;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub enum MouseWindowEvent {
|
||||
Click(MouseButton, DevicePoint),
|
||||
MouseDown(MouseButton, DevicePoint),
|
||||
MouseUp(MouseButton, DevicePoint),
|
||||
}
|
||||
|
||||
/// Various debug and profiling flags that WebRender supports.
|
||||
#[derive(Clone)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue