Expose javascript:window.alert() to libsimpleservo

This commit is contained in:
Paul Rouget 2019-07-18 12:46:19 +02:00
parent b6cc0f60a9
commit 3a374b3455
7 changed files with 42 additions and 0 deletions

View file

@ -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) {}