Remove the component parameter from GenericWindow::process_key_input

This commit is contained in:
Simon Hausmann 2020-11-11 19:16:26 +01:00
parent 516680ad5d
commit a2dadf8fe8
6 changed files with 36 additions and 65 deletions

View file

@ -335,7 +335,6 @@ pub mod testing {
key_codes: &[crate::re_exports::KeyCode],
) {
sixtyfps_corelib::tests::sixtyfps_send_key_clicks(
vtable::VRef::new_pin(component),
&crate::re_exports::Slice::from_slice(key_codes),
component.component_window(),
)
@ -349,7 +348,6 @@ pub mod testing {
sequence: &str,
) {
sixtyfps_corelib::tests::send_keyboard_string_sequence(
vtable::VRef::new_pin(component),
&super::SharedString::from(sequence),
component.component_window(),
)