mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Move WR profiler keybindings to glutin window, where the other keybindings
are located
This commit is contained in:
parent
95a85a301f
commit
e5e3748a46
3 changed files with 12 additions and 13 deletions
|
@ -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"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue