From e64609eb255147b12f79d66764698de3d815efcc Mon Sep 17 00:00:00 2001 From: Tim Kuehn Date: Mon, 5 Aug 2013 13:37:04 -0700 Subject: [PATCH] placeholders for FrameRectMsg from Layout to Constellation --- src/components/main/constellation.rs | 5 +++++ src/components/msg/constellation_msg.rs | 1 + 2 files changed, 6 insertions(+) diff --git a/src/components/main/constellation.rs b/src/components/main/constellation.rs index a6f1b6f9a40..7009dca19c0 100644 --- a/src/components/main/constellation.rs +++ b/src/components/main/constellation.rs @@ -359,6 +359,11 @@ impl Constellation { self.pipelines.insert(pipeline.id, pipeline); } +/* + FrameRectMsg(pipeline_id, subpage_id, rect, rect_type) => { + } + +*/ LoadIframeUrlMsg(url, source_pipeline_id, subpage_id, size_future) => { // A message from the script associated with pipeline_id that it has // parsed an iframe during html parsing. This iframe will result in a diff --git a/src/components/msg/constellation_msg.rs b/src/components/msg/constellation_msg.rs index af0a01184a3..eb7b196c25d 100644 --- a/src/components/msg/constellation_msg.rs +++ b/src/components/msg/constellation_msg.rs @@ -29,6 +29,7 @@ impl ConstellationChan { pub enum Msg { ExitMsg(Chan<()>), InitLoadUrlMsg(Url), + //FrameRectMsg(PipelineId, SubpageId, Rect), LoadUrlMsg(PipelineId, Url, Future>), LoadIframeUrlMsg(Url, PipelineId, SubpageId, Future>), NavigateMsg(NavigationDirection),