mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
parent
a0b44ff5e7
commit
85b424464a
Notes:
github-actions[bot]
2025-01-21 16:49:39 +00:00
Author: https://github.com/trflynn89
Commit: 85b424464a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3335
191 changed files with 574 additions and 574 deletions
|
@ -827,7 +827,7 @@ void WebContentView::finish_handling_drag_event(Web::DragEvent const& event)
|
|||
if (event.type != Web::DragEvent::Type::Drop)
|
||||
return;
|
||||
|
||||
auto const& chrome_data = verify_cast<DragData>(*event.chrome_data);
|
||||
auto const& chrome_data = as<DragData>(*event.chrome_data);
|
||||
emit urls_dropped(chrome_data.urls);
|
||||
}
|
||||
|
||||
|
@ -867,7 +867,7 @@ void WebContentView::enqueue_native_event(Web::KeyEvent::Type type, QKeyEvent co
|
|||
|
||||
void WebContentView::finish_handling_key_event(Web::KeyEvent const& key_event)
|
||||
{
|
||||
auto& chrome_data = verify_cast<KeyData>(*key_event.chrome_data);
|
||||
auto& chrome_data = as<KeyData>(*key_event.chrome_data);
|
||||
auto& event = *chrome_data.event;
|
||||
|
||||
switch (key_event.type) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue