mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Add support for market:// urls
This commit is contained in:
parent
a2b195aff8
commit
027514c3e6
6 changed files with 60 additions and 2 deletions
|
@ -350,6 +350,9 @@ impl HostTrait for HostCallbacks {
|
|||
fn on_load_started(&self) {}
|
||||
fn on_load_ended(&self) {}
|
||||
fn on_title_changed(&self, _title: String) {}
|
||||
fn on_allow_navigation(&self, _url: String) -> bool {
|
||||
true
|
||||
}
|
||||
fn on_url_changed(&self, url: String) {
|
||||
if let Ok(cstr) = CString::new(url.as_str()) {
|
||||
if let Some(url_update) = self.url_update.0 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue