From 42a1f19e3d06b8b23ab13c7479b754a05bee2b5e Mon Sep 17 00:00:00 2001 From: Tamas Zakor Date: Tue, 21 Aug 2018 13:42:08 +0200 Subject: Clean-up of forward declarations and includes in core headers Change-Id: Icf0508baf0884afe7591b35e13733b17c9fdfe90 Reviewed-by: Peter Varga Reviewed-by: Allan Sandfeld Jensen --- src/core/render_widget_host_view_qt.h | 7 ------- src/core/render_widget_host_view_qt_delegate.h | 3 --- src/core/user_script.h | 1 - src/core/web_contents_delegate_qt.h | 2 -- 4 files changed, 13 deletions(-) (limited to 'src') diff --git a/src/core/render_widget_host_view_qt.h b/src/core/render_widget_host_view_qt.h index 7b270e2b3..39191ffec 100644 --- a/src/core/render_widget_host_view_qt.h +++ b/src/core/render_widget_host_view_qt.h @@ -61,13 +61,6 @@ #include "delegated_frame_node.h" QT_BEGIN_NAMESPACE -class QEvent; -class QFocusEvent; -class QHoverEvent; -class QKeyEvent; -class QMouseEvent; -class QVariant; -class QWheelEvent; class QAccessibleInterface; QT_END_NAMESPACE diff --git a/src/core/render_widget_host_view_qt_delegate.h b/src/core/render_widget_host_view_qt_delegate.h index 051e3f9cc..72f54dcb6 100644 --- a/src/core/render_widget_host_view_qt_delegate.h +++ b/src/core/render_widget_host_view_qt_delegate.h @@ -57,15 +57,12 @@ #include QT_BEGIN_NAMESPACE -class QCursor; class QEvent; -class QPainter; class QSGLayer; class QSGNode; class QSGRectangleNode; class QSGTexture; class QVariant; -class QWindow; class QInputMethodEvent; class QSGInternalImageNode; diff --git a/src/core/user_script.h b/src/core/user_script.h index 7743521f2..5ad53fdc1 100644 --- a/src/core/user_script.h +++ b/src/core/user_script.h @@ -53,7 +53,6 @@ #include "qtwebenginecoreglobal_p.h" -#include #include #include #include diff --git a/src/core/web_contents_delegate_qt.h b/src/core/web_contents_delegate_qt.h index 674e75fcd..a2bef7cc7 100644 --- a/src/core/web_contents_delegate_qt.h +++ b/src/core/web_contents_delegate_qt.h @@ -56,10 +56,8 @@ QT_FORWARD_DECLARE_CLASS(CertificateErrorController) QT_FORWARD_DECLARE_CLASS(ClientCertSelectController) namespace content { - class BrowserContext; class ColorChooser; class SiteInstance; - class RenderViewHost; class JavaScriptDialogManager; class WebContents; struct WebPreferences; -- cgit v1.2.1