Move WR profiler keybindings to glutin window, where the other keybindings

are located
This commit is contained in:
Tremoneck 2017-07-10 12:43:01 +02:00
parent 95a85a301f
commit e5e3748a46
3 changed files with 12 additions and 13 deletions

View file

@ -76,6 +76,8 @@ pub enum WindowEvent {
KeyEvent(Option<char>, Key, KeyState, KeyModifiers),
/// Sent when Ctr+R/Apple+R is called to reload the current page.
Reload,
/// Toggles the Web renderer profiler on and off
ToggleWebRenderProfiler,
}
impl Debug for WindowEvent {
@ -98,6 +100,7 @@ impl Debug for WindowEvent {
WindowEvent::Navigation(..) => write!(f, "Navigation"),
WindowEvent::Quit => write!(f, "Quit"),
WindowEvent::Reload => write!(f, "Reload"),
WindowEvent::ToggleWebRenderProfiler => write!(f, "ToggleWebRenderProfiler"),
}
}
}