mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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
|
@ -12,10 +12,11 @@ use gfx_traits::{Epoch, LayerId, LayerProperties, ScrollPolicy};
|
|||
use layers::color::Color;
|
||||
use layers::geometry::LayerPixel;
|
||||
use layers::layers::{Layer, LayerBufferSet};
|
||||
use msg::constellation_msg::{MouseEventType, PipelineId};
|
||||
use msg::constellation_msg::PipelineId;
|
||||
use script_traits::CompositorEvent;
|
||||
use script_traits::CompositorEvent::{MouseButtonEvent, MouseMoveEvent};
|
||||
use script_traits::ConstellationControlMsg;
|
||||
use script_traits::MouseEventType;
|
||||
use std::rc::Rc;
|
||||
use windowing::{MouseWindowEvent, WindowMethods};
|
||||
|
||||
|
@ -519,4 +520,3 @@ impl RcCompositorLayer for Rc<Layer<CompositorData>> {
|
|||
None);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue