mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Expose javascript:window.alert() to libsimpleservo
This commit is contained in:
parent
b6cc0f60a9
commit
3a374b3455
7 changed files with 42 additions and 0 deletions
|
@ -347,6 +347,7 @@ impl HostTrait for HostCallbacks {
|
|||
MakeCurrent(self.disp, self.surf, self.surf, self.ctxt);
|
||||
}
|
||||
|
||||
fn on_alert(&self, _message: String) {}
|
||||
fn on_load_started(&self) {}
|
||||
fn on_load_ended(&self) {}
|
||||
fn on_title_changed(&self, _title: String) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue