mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
script: Unify LoadComplete and DOMLoad messages.
See the PR in which this commit landed and also https://github.com/servo/servo/pull/6415#issuecomment-122294169
This commit is contained in:
parent
572b3c31bd
commit
36376461f4
3 changed files with 10 additions and 25 deletions
|
@ -70,10 +70,6 @@ pub enum ScriptMsg {
|
|||
CreateWebGLPaintThread(Size2D<i32>,
|
||||
GLContextAttributes,
|
||||
IpcSender<Result<(IpcSender<CanvasMsg>, GLLimits), String>>),
|
||||
/// Dispatched after the DOM load event has fired on a document
|
||||
/// Causes a `load` event to be dispatched to any enclosing frame context element
|
||||
/// for the given pipeline.
|
||||
DOMLoad(PipelineId),
|
||||
/// Notifies the constellation that this frame has received focus.
|
||||
Focus(PipelineId),
|
||||
/// Re-send a mouse button event that was sent to the parent window.
|
||||
|
@ -84,7 +80,8 @@ pub enum ScriptMsg {
|
|||
GetClipboardContents(IpcSender<String>),
|
||||
/// <head> tag finished parsing
|
||||
HeadParsed,
|
||||
/// All pending loads are complete.
|
||||
/// All pending loads are complete, and the `load` event for this pipeline
|
||||
/// has been dispatched.
|
||||
LoadComplete(PipelineId),
|
||||
/// A new load has been requested.
|
||||
LoadUrl(PipelineId, LoadData),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue