diff options
Diffstat (limited to 'src/core/render_widget_host_view_qt_delegate_item.h')
-rw-r--r-- | src/core/render_widget_host_view_qt_delegate_item.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/render_widget_host_view_qt_delegate_item.h b/src/core/render_widget_host_view_qt_delegate_item.h index 6f3289157..0da6b4948 100644 --- a/src/core/render_widget_host_view_qt_delegate_item.h +++ b/src/core/render_widget_host_view_qt_delegate_item.h @@ -35,6 +35,7 @@ public: virtual void Destroy() = 0; virtual void Resize(int, int) { } virtual QWindow *Window() { return nullptr; } + virtual void unhandledWheelEvent(QWheelEvent *) { } }; // Useful information keyboard and mouse QEvent propagation. @@ -43,7 +44,7 @@ public: // but will still receive mouse input (all mouse QEvent moves and clicks will be given to the popup // RWHVQD instance, and the mouse interaction area covers the surface of the whole parent // QWebEngineView, and not only the smaller surface that an HTML select popup would occupy). -class Q_WEBENGINECORE_PRIVATE_EXPORT RenderWidgetHostViewQtDelegateItem +class Q_WEBENGINECORE_EXPORT RenderWidgetHostViewQtDelegateItem : public QQuickItem , public RenderWidgetHostViewQtDelegate , public Compositor::Observer @@ -100,8 +101,9 @@ protected: private Q_SLOTS: void onBeforeRendering(); + void onAfterFrameEnd(); void onWindowPosChanged(); - void releaseVulkanResources(); + void releaseTextureResources(); void onHide(); private: |