mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Ability to create new TopLevelBrowsingContext
This commit is contained in:
parent
899aa0c371
commit
bb3ac8f266
5 changed files with 24 additions and 12 deletions
|
@ -740,8 +740,6 @@ pub enum ConstellationMsg {
|
|||
/// Request that the constellation send the current focused top-level browsing context id,
|
||||
/// over a provided channel.
|
||||
GetFocusTopLevelBrowsingContext(IpcSender<Option<TopLevelBrowsingContextId>>),
|
||||
/// Request to load the initial page.
|
||||
InitLoadUrl(ServoUrl),
|
||||
/// Query the constellation to see if the current compositor output is stable
|
||||
IsReadyToSaveImage(HashMap<PipelineId, Epoch>),
|
||||
/// Inform the constellation of a key event.
|
||||
|
@ -764,6 +762,8 @@ pub enum ConstellationMsg {
|
|||
SetWebVRThread(IpcSender<WebVRMsg>),
|
||||
/// Dispatch WebVR events to the subscribed script threads.
|
||||
WebVREvents(Vec<PipelineId>, Vec<WebVREvent>),
|
||||
/// Create a new top level browsing context.
|
||||
NewBrowser(ServoUrl, IpcSender<TopLevelBrowsingContextId>),
|
||||
}
|
||||
|
||||
/// Resources required by workerglobalscopes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue