summaryrefslogtreecommitdiffstats
path: root/src/core/render_widget_host_view_qt_delegate.h
diff options
context:
space:
mode:
authorAndras Becsi <andras.becsi@theqtcompany.com>2015-04-22 11:40:11 +0200
committerAndras Becsi <andras.becsi@theqtcompany.com>2015-04-22 12:09:20 +0000
commitd8d4666db2592b64b7e24aa896ecdac7e8f8bc1a (patch)
tree5ce3785101bfd4e110e4ab23e0c1d210c1100daa /src/core/render_widget_host_view_qt_delegate.h
parent5bdd41388fab6486061d1bd25be132533d05d711 (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_delegate.h')
-rw-r--r--src/core/render_widget_host_view_qt_delegate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/render_widget_host_view_qt_delegate.h b/src/core/render_widget_host_view_qt_delegate.h
index a12f3055..da595b91 100644
--- a/src/core/render_widget_host_view_qt_delegate.h
+++ b/src/core/render_widget_host_view_qt_delegate.h
@@ -64,6 +64,8 @@ public:
virtual ~RenderWidgetHostViewQtDelegateClient() { }
virtual QSGNode *updatePaintNode(QSGNode *) = 0;
virtual void notifyResize() = 0;
+ virtual void notifyShown() = 0;
+ virtual void notifyHidden() = 0;
virtual void windowBoundsChanged() = 0;
virtual void windowChanged() = 0;
virtual bool forwardEvent(QEvent *) = 0;