mirror of
https://github.com/servo/servo.git
synced 2025-08-28 08:38:20 +01:00
servoshell: Port desktop servoshell to use delegate API (#35284)
Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Delan Azabani <dazabani@igalia.com> Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
This commit is contained in:
parent
6b12499077
commit
5f08e4fa76
15 changed files with 1109 additions and 1258 deletions
|
@ -92,4 +92,8 @@ impl Dialog {
|
|||
},
|
||||
}
|
||||
}
|
||||
|
||||
pub(crate) fn is_file_dialog(&self) -> bool {
|
||||
matches!(self, Dialog::File(..))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue