mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
move ConstellationMsg to compositing
This commit is contained in:
parent
b3ac17b82f
commit
8d4aeef08b
15 changed files with 133 additions and 122 deletions
|
@ -12,6 +12,7 @@ path = "lib.rs"
|
|||
|
||||
[dependencies]
|
||||
base64 = "0.10"
|
||||
compositing = {path = "../compositing"}
|
||||
cookie = "0.11"
|
||||
crossbeam-channel = "0.3"
|
||||
euclid = "0.20"
|
||||
|
|
|
@ -3,10 +3,11 @@
|
|||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use crate::Handler;
|
||||
use compositing::ConstellationMsg;
|
||||
use ipc_channel::ipc;
|
||||
use keyboard_types::webdriver::KeyInputState;
|
||||
use script_traits::webdriver_msg::WebDriverScriptCommand;
|
||||
use script_traits::{ConstellationMsg, MouseButton, MouseEventType, WebDriverCommandMsg};
|
||||
use script_traits::{MouseButton, MouseEventType, WebDriverCommandMsg};
|
||||
use std::cmp;
|
||||
use std::collections::HashSet;
|
||||
use std::thread;
|
||||
|
|
|
@ -21,6 +21,7 @@ mod capabilities;
|
|||
use crate::actions::{InputSourceState, PointerInputState};
|
||||
use base64;
|
||||
use capabilities::ServoCapabilities;
|
||||
use compositing::ConstellationMsg;
|
||||
use crossbeam_channel::{after, unbounded, Receiver, Sender};
|
||||
use euclid::{Rect, Size2D};
|
||||
use hyper::Method;
|
||||
|
@ -34,7 +35,7 @@ use script_traits::webdriver_msg::{LoadStatus, WebDriverCookieError, WebDriverFr
|
|||
use script_traits::webdriver_msg::{
|
||||
WebDriverJSError, WebDriverJSResult, WebDriverJSValue, WebDriverScriptCommand,
|
||||
};
|
||||
use script_traits::{ConstellationMsg, LoadData, LoadOrigin, WebDriverCommandMsg};
|
||||
use script_traits::{LoadData, LoadOrigin, WebDriverCommandMsg};
|
||||
use serde::de::{Deserialize, Deserializer, MapAccess, Visitor};
|
||||
use serde::ser::{Serialize, Serializer};
|
||||
use serde_json::{json, Value};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue