mirror of
https://github.com/servo/servo.git
synced 2025-08-01 19:50:30 +01:00
Make it possible to add a title to context menu
This commit is contained in:
parent
687156ac90
commit
0b489a0135
9 changed files with 33 additions and 18 deletions
|
@ -157,7 +157,7 @@ pub enum EmbedderMsg {
|
|||
/// Show dialog to user
|
||||
Prompt(PromptDefinition, PromptOrigin),
|
||||
/// Show a context menu to the user
|
||||
ShowContextMenu(IpcSender<ContextMenuResult>, Vec<String>),
|
||||
ShowContextMenu(IpcSender<ContextMenuResult>, Option<String>, Vec<String>),
|
||||
/// Whether or not to allow a pipeline to load a url.
|
||||
AllowNavigationRequest(PipelineId, ServoUrl),
|
||||
/// Whether or not to allow script to open a new tab/browser
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue