Only store the url inside a pipeline instead of the rest of the LoadData.

This commit is contained in:
Josh Matthews 2015-02-19 13:27:21 -05:00
parent e2c4f5ed67
commit 6351fc75fd
13 changed files with 34 additions and 27 deletions

View file

@ -12,7 +12,8 @@ use geom::size::TypedSize2D;
use layers::geometry::DevicePixel;
use layers::platform::surface::NativeGraphicsMetadata;
use msg::compositor_msg::{PaintState, ReadyState};
use msg::constellation_msg::{Key, KeyState, KeyModifiers, LoadData};
use msg::constellation_msg::{Key, KeyState, KeyModifiers};
use url::Url;
use util::cursor::Cursor;
use util::geometry::ScreenPx;
use std::fmt::{Error, Formatter, Debug};
@ -105,7 +106,7 @@ pub trait WindowMethods {
/// Sets the page title for the current page.
fn set_page_title(&self, title: Option<String>);
/// Sets the load data for the current page.
fn set_page_load_data(&self, load_data: LoadData);
fn set_page_url(&self, url: Url);
/// Called when the browser is done loading a frame.
fn load_end(&self);