Auto merge of #26067 - paulrouget:contextTitle, r=jdm

Make it possible to add a title to context menu

Fixes #26061
This commit is contained in:
bors-servo 2020-03-31 08:33:14 -04:00 committed by GitHub
commit 234c8557ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 33 additions and 18 deletions

View file

@ -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