mirror of
https://github.com/servo/servo.git
synced 2025-06-10 09:33:13 +00:00
Allow passing a method, request body, and headers to the pipeline in LoadUrlMsg
This commit is contained in:
parent
15b508ac10
commit
ad16c52a6b
10 changed files with 75 additions and 35 deletions
|
@ -21,12 +21,11 @@ extern crate serialize;
|
|||
|
||||
use devtools_traits::DevtoolsControlChan;
|
||||
use servo_msg::constellation_msg::{ConstellationChan, PipelineId, Failure, WindowSizeData};
|
||||
use servo_msg::constellation_msg::SubpageId;
|
||||
use servo_msg::constellation_msg::{LoadData, SubpageId};
|
||||
use servo_msg::compositor_msg::ScriptListener;
|
||||
use servo_net::image_cache_task::ImageCacheTask;
|
||||
use servo_net::resource_task::ResourceTask;
|
||||
use std::any::Any;
|
||||
use url::Url;
|
||||
|
||||
use geom::point::Point2D;
|
||||
|
||||
|
@ -42,7 +41,7 @@ pub struct NewLayoutInfo {
|
|||
/// Messages sent from the constellation to the script task
|
||||
pub enum ConstellationControlMsg {
|
||||
/// Loads a new URL on the specified pipeline.
|
||||
LoadMsg(PipelineId, Url),
|
||||
LoadMsg(PipelineId, LoadData),
|
||||
/// Gives a channel and ID to a layout task, as well as the ID of that layout's parent
|
||||
AttachLayoutMsg(NewLayoutInfo),
|
||||
/// Window resized. Sends a DOM event eventually, but first we combine events.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue