add CompositorMsg::LoadStart, implement cef_load_handler::on_loading_state_change()

only adds the loading:true callback this time...
This commit is contained in:
Mike Blumenkrantz 2015-05-22 16:46:55 -04:00
parent cd9dab7b5b
commit 3481c752cd
8 changed files with 51 additions and 0 deletions

View file

@ -384,6 +384,10 @@ impl<Window: WindowMethods> IOCompositor<Window> {
self.scroll_fragment_to_point(pipeline_id, layer_id, point);
}
(Msg::LoadStart(back, forward), ShutdownState::NotShuttingDown) => {
self.window.load_start(back, forward);
}
(Msg::LoadComplete, ShutdownState::NotShuttingDown) => {
self.got_load_complete_message = true;