diff options
author | Andras Becsi <andras.becsi@theqtcompany.com> | 2015-04-22 11:40:11 +0200 |
---|---|---|
committer | Andras Becsi <andras.becsi@theqtcompany.com> | 2015-04-22 12:09:20 +0000 |
commit | d8d4666db2592b64b7e24aa896ecdac7e8f8bc1a (patch) | |
tree | 5ce3785101bfd4e110e4ab23e0c1d210c1100daa /src/core/render_widget_host_view_qt.h | |
parent | 5bdd41388fab6486061d1bd25be132533d05d711 (diff) |
WebEngineView does not load a url while invisible
Notify the RenderWidgetHost about visibility changes so that we
receive updates with non-empty DelegatedFrameData when a page was
loaded in an invisible WebEngineView and then made visible.
Task-number: QTBUG-42789
Change-Id: I4856efcd9c0ce44b66a228d5a414198df46b95eb
Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Diffstat (limited to 'src/core/render_widget_host_view_qt.h')
-rw-r--r-- | src/core/render_widget_host_view_qt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/render_widget_host_view_qt.h b/src/core/render_widget_host_view_qt.h index 68330a486..248c52f6e 100644 --- a/src/core/render_widget_host_view_qt.h +++ b/src/core/render_widget_host_view_qt.h @@ -159,6 +159,8 @@ public: // Overridden from RenderWidgetHostViewQtDelegateClient. virtual QSGNode *updatePaintNode(QSGNode *) Q_DECL_OVERRIDE; virtual void notifyResize() Q_DECL_OVERRIDE; + virtual void notifyShown() Q_DECL_OVERRIDE; + virtual void notifyHidden() Q_DECL_OVERRIDE; virtual void windowBoundsChanged() Q_DECL_OVERRIDE; virtual void windowChanged() Q_DECL_OVERRIDE; virtual bool forwardEvent(QEvent *) Q_DECL_OVERRIDE; |