mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Remove pub uses from compositor_thread.rs.
This commit is contained in:
parent
aa9fc4e054
commit
517e40725d
1 changed files with 2 additions and 3 deletions
|
@ -5,6 +5,7 @@
|
||||||
//! Communication with the compositor thread.
|
//! Communication with the compositor thread.
|
||||||
|
|
||||||
use CompositorMsg as ConstellationMsg;
|
use CompositorMsg as ConstellationMsg;
|
||||||
|
use SendableFrameTree;
|
||||||
use compositor::{self, CompositingReason};
|
use compositor::{self, CompositingReason};
|
||||||
use euclid::point::Point2D;
|
use euclid::point::Point2D;
|
||||||
use euclid::size::Size2D;
|
use euclid::size::Size2D;
|
||||||
|
@ -22,11 +23,9 @@ use std::sync::mpsc::{Receiver, Sender, channel};
|
||||||
use style_traits::cursor::Cursor;
|
use style_traits::cursor::Cursor;
|
||||||
use style_traits::viewport::ViewportConstraints;
|
use style_traits::viewport::ViewportConstraints;
|
||||||
use url::Url;
|
use url::Url;
|
||||||
use windowing::{WindowEvent, WindowMethods};
|
|
||||||
pub use SendableFrameTree;
|
|
||||||
pub use windowing;
|
|
||||||
use webrender;
|
use webrender;
|
||||||
use webrender_traits;
|
use webrender_traits;
|
||||||
|
use windowing::{WindowEvent, WindowMethods};
|
||||||
|
|
||||||
/// Sends messages to the compositor. This is a trait supplied by the port because the method used
|
/// Sends messages to the compositor. This is a trait supplied by the port because the method used
|
||||||
/// to communicate with the compositor may have to kick OS event loops awake, communicate cross-
|
/// to communicate with the compositor may have to kick OS event loops awake, communicate cross-
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue