mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Make reload button clear the network cache.
This commit is contained in:
parent
fe24fc3068
commit
f030162ec3
10 changed files with 50 additions and 1 deletions
|
@ -583,6 +583,13 @@ where
|
|||
}
|
||||
},
|
||||
|
||||
WindowEvent::ClearCache => {
|
||||
let msg = ConstellationMsg::ClearCache;
|
||||
if let Err(e) = self.constellation_chan.send(msg) {
|
||||
warn!("Sending clear cache to constellation failed ({:?}).", e);
|
||||
}
|
||||
},
|
||||
|
||||
WindowEvent::MouseWindowEventClass(mouse_window_event) => {
|
||||
self.compositor
|
||||
.on_mouse_window_event_class(mouse_window_event);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue