mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Make IFrameLoadInfo take an Option<LoadData> instead of Option<Url>
This commit is contained in:
parent
e1091128cd
commit
3110647852
4 changed files with 20 additions and 13 deletions
|
@ -51,7 +51,6 @@ use net_traits::response::HttpsState;
|
|||
use net_traits::storage_thread::StorageThread;
|
||||
use profile_traits::mem;
|
||||
use std::any::Any;
|
||||
use url::Url;
|
||||
use util::ipc::OptionalOpaqueIpcSender;
|
||||
|
||||
pub use script_msg::{LayoutMsg, ScriptMsg};
|
||||
|
@ -405,8 +404,8 @@ pub enum IFrameSandboxState {
|
|||
/// Specifies the information required to load a URL in an iframe.
|
||||
#[derive(Deserialize, Serialize)]
|
||||
pub struct IFrameLoadInfo {
|
||||
/// Url to load
|
||||
pub url: Option<Url>,
|
||||
/// Load data containing the url to load
|
||||
pub load_data: Option<LoadData>,
|
||||
/// Pipeline ID of the parent of this iframe
|
||||
pub containing_pipeline_id: PipelineId,
|
||||
/// The new subpage ID for this load
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue