diff options
author | Peter Varga <pvarga@inf.u-szeged.hu> | 2016-11-24 15:02:34 +0100 |
---|---|---|
committer | Peter Varga <pvarga@inf.u-szeged.hu> | 2016-11-25 13:10:44 +0000 |
commit | 9894a46ced4e760a90b8e0508ca1452f5d2fd7ef (patch) | |
tree | ca983d2d0b3d2153b31bdda591893b6f2bf99700 /src/core/render_view_observer_host_qt.h | |
parent | 5bd02ef363a7fcfdb0c34dcd75938c54163bf10f (diff) |
Rework and fix loadVisuallyCommitted signal
- Remove RenderViewObserverHostQt_DidFirstVisuallyNonEmptyLayout message
and use WebContentsObserver::DidFirstVisuallyNonEmptyPaint instead.
- The order of the DidFirstVisuallyNonEmptyPaint and
OnSwapCompositorFrame events is not guaranteed. Check for both events to
do not miss to send any loadVisuallyCommitted signal.
Change-Id: Ic733b3e9a6fae64b1d827e8e07514f180273cf8c
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/render_view_observer_host_qt.h')
-rw-r--r-- | src/core/render_view_observer_host_qt.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/render_view_observer_host_qt.h b/src/core/render_view_observer_host_qt.h index f352be7b9..42d232b01 100644 --- a/src/core/render_view_observer_host_qt.h +++ b/src/core/render_view_observer_host_qt.h @@ -63,7 +63,6 @@ private: bool OnMessageReceived(const IPC::Message& message) Q_DECL_OVERRIDE; void onDidFetchDocumentMarkup(quint64 requestId, const base::string16& markup); void onDidFetchDocumentInnerText(quint64 requestId, const base::string16& innerText); - void onDidFirstVisuallyNonEmptyLayout(); WebContentsAdapterClient *m_adapterClient; }; |