mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Rename RendererReadyMsg -> PainterReadyMsg
This commit is contained in:
parent
37c060cad7
commit
b921986cd6
3 changed files with 6 additions and 6 deletions
|
@ -21,7 +21,7 @@ use servo_msg::compositor_msg::LayerId;
|
|||
use servo_msg::constellation_msg::{ConstellationChan, ExitMsg, FailureMsg, Failure, FrameRectMsg};
|
||||
use servo_msg::constellation_msg::{IFrameSandboxState, IFrameUnsandboxed, InitLoadUrlMsg};
|
||||
use servo_msg::constellation_msg::{LoadCompleteMsg, LoadUrlMsg, LoadData, Msg, NavigateMsg};
|
||||
use servo_msg::constellation_msg::{NavigationType, PipelineId, RendererReadyMsg, ResizedWindowMsg};
|
||||
use servo_msg::constellation_msg::{NavigationType, PipelineId, PainterReadyMsg, ResizedWindowMsg};
|
||||
use servo_msg::constellation_msg::{ScriptLoadedURLInIFrameMsg, SubpageId, WindowSizeData};
|
||||
use servo_msg::constellation_msg::{KeyEvent, Key, KeyState, KeyModifiers};
|
||||
use servo_msg::constellation_msg;
|
||||
|
@ -453,7 +453,7 @@ impl<LTF: LayoutTaskFactory, STF: ScriptTaskFactory> Constellation<LTF, STF> {
|
|||
self.handle_navigate_msg(direction);
|
||||
}
|
||||
// Notification that rendering has finished and is requesting permission to paint.
|
||||
RendererReadyMsg(pipeline_id) => {
|
||||
PainterReadyMsg(pipeline_id) => {
|
||||
debug!("constellation got renderer ready message");
|
||||
self.handle_renderer_ready_msg(pipeline_id);
|
||||
}
|
||||
|
|
|
@ -24,7 +24,7 @@ use native::task::NativeTaskBuilder;
|
|||
use servo_msg::compositor_msg::{Epoch, IdlePaintState, LayerId};
|
||||
use servo_msg::compositor_msg::{LayerMetadata, PaintListener, PaintingPaintState, ScrollPolicy};
|
||||
use servo_msg::constellation_msg::{ConstellationChan, Failure, FailureMsg, PipelineId};
|
||||
use servo_msg::constellation_msg::{RendererReadyMsg};
|
||||
use servo_msg::constellation_msg::{PainterReadyMsg};
|
||||
use servo_msg::platform::surface::NativeSurfaceAzureMethods;
|
||||
use servo_util::geometry::{Au, ZERO_POINT};
|
||||
use servo_util::opts;
|
||||
|
@ -234,7 +234,7 @@ impl<C> PaintTask<C> where C: PaintListener + Send {
|
|||
if !self.paint_permission {
|
||||
debug!("paint_task: render ready msg");
|
||||
let ConstellationChan(ref mut c) = self.constellation_chan;
|
||||
c.send(RendererReadyMsg(self.id));
|
||||
c.send(PainterReadyMsg(self.id));
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -247,7 +247,7 @@ impl<C> PaintTask<C> where C: PaintListener + Send {
|
|||
if !self.paint_permission {
|
||||
debug!("paint_task: render ready msg");
|
||||
let ConstellationChan(ref mut c) = self.constellation_chan;
|
||||
c.send(RendererReadyMsg(self.id));
|
||||
c.send(PainterReadyMsg(self.id));
|
||||
self.compositor.paint_msg_discarded();
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -202,7 +202,7 @@ pub enum Msg {
|
|||
LoadUrlMsg(PipelineId, LoadData),
|
||||
ScriptLoadedURLInIFrameMsg(Url, PipelineId, SubpageId, IFrameSandboxState),
|
||||
NavigateMsg(NavigationDirection),
|
||||
RendererReadyMsg(PipelineId),
|
||||
PainterReadyMsg(PipelineId),
|
||||
ResizedWindowMsg(WindowSizeData),
|
||||
KeyEvent(Key, KeyState, KeyModifiers),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue