diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2015-05-22 16:46:55 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2015-05-27 14:45:47 -0400 |
commit | 3481c752cd6514a50980044e425d65de80ebf608 (patch) | |
tree | 043717fcea031251ab8cee14cb60df7f28d40e31 /components/compositing/compositor_task.rs | |
parent | cd9dab7b5bf69347e6ebd34b3f6761b55891effa (diff) | |
download | servo-3481c752cd6514a50980044e425d65de80ebf608.tar.gz servo-3481c752cd6514a50980044e425d65de80ebf608.zip |
add CompositorMsg::LoadStart, implement cef_load_handler::on_loading_state_change()
only adds the loading:true callback this time...
Diffstat (limited to 'components/compositing/compositor_task.rs')
-rw-r--r-- | components/compositing/compositor_task.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/compositing/compositor_task.rs b/components/compositing/compositor_task.rs index 904e69da83b..1eb4ac215e0 100644 --- a/components/compositing/compositor_task.rs +++ b/components/compositing/compositor_task.rs @@ -160,6 +160,8 @@ pub enum Msg { ChangeRunningAnimationsState(PipelineId, AnimationState), /// Replaces the current frame tree, typically called during main frame navigation. SetFrameTree(SendableFrameTree, Sender<()>, ConstellationChan), + /// The load of a page has begun: (can go back, can go forward). + LoadStart(bool, bool), /// The load of a page has completed. LoadComplete, /// Indicates that the scrolling timeout with the given starting timestamp has happened and a @@ -195,6 +197,7 @@ impl Debug for Msg { Msg::ChangePageUrl(..) => write!(f, "ChangePageUrl"), Msg::SetFrameTree(..) => write!(f, "SetFrameTree"), Msg::LoadComplete => write!(f, "LoadComplete"), + Msg::LoadStart(..) => write!(f, "LoadStart"), Msg::ScrollTimeout(..) => write!(f, "ScrollTimeout"), Msg::RecompositeAfterScroll => write!(f, "RecompositeAfterScroll"), Msg::KeyEvent(..) => write!(f, "KeyEvent"), |