mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:17:35 +00:00
Ladybird: Remove Web::Platform plugins for Qt in favor of LibCore
Now that the Core::EventLoop is driven by a QEventLoop in Ladybird, we don't need to patch LibWeb with Web::Platform plugins. This patch removes EventLoopPluginQt and TimerQt. Note that we can't just replace the Web::Platform abstractions with LibCore stuff immediately, since the Web::Platform APIs use JS::SafeFunction for callbacks.
This commit is contained in:
parent
3494c2382d
commit
1c6c3685c4
8 changed files with 4 additions and 258 deletions
|
@ -22,7 +22,6 @@
|
|||
#include <LibWebView/ViewImplementation.h>
|
||||
#include <QAbstractScrollArea>
|
||||
#include <QPointer>
|
||||
#include <QSocketNotifier>
|
||||
|
||||
class QTextEdit;
|
||||
class QLineEdit;
|
||||
|
@ -215,7 +214,6 @@ private:
|
|||
Gfx::IntRect m_viewport_rect;
|
||||
|
||||
void handle_web_content_process_crash();
|
||||
QSocketNotifier m_web_content_notifier { QSocketNotifier::Type::Read };
|
||||
|
||||
RefPtr<Gfx::Bitmap> m_backup_bitmap;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue