diff options
author | Andras Becsi <andras.becsi@digia.com> | 2013-06-26 20:11:40 +0200 |
---|---|---|
committer | Andras Becsi <andras.becsi@digia.com> | 2013-06-27 17:25:02 +0200 |
commit | b06b0876e6af6ed427ec06b1a9fd94c2f7809a11 (patch) | |
tree | a48a33743636b0272b3f43fe40d013d4baff69aa | |
parent | 237d6de19dc47fa66fb58788a008c4bf5f6f09ed (diff) |
Replace include by forward declaration in the private headers
Also remove some unneeded includes.
Change-Id: I335bfb1d8c74b2e44d7bf576c3b76f6c32af35c3
Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
-rw-r--r-- | lib/backing_store_qt.cpp | 1 | ||||
-rw-r--r-- | lib/qquickwebcontentsview_p.h | 3 | ||||
-rw-r--r-- | lib/qwebcontentsview_p.h | 3 | ||||
-rw-r--r-- | lib/web_contents_delegate_qt.h | 2 |
4 files changed, 4 insertions, 5 deletions
diff --git a/lib/backing_store_qt.cpp b/lib/backing_store_qt.cpp index cee0d093e..27fc81876 100644 --- a/lib/backing_store_qt.cpp +++ b/lib/backing_store_qt.cpp @@ -41,7 +41,6 @@ #include "backing_store_qt.h" -#include "content/browser/renderer_host/render_widget_host_impl.h" #include "content/public/browser/render_process_host.h" #include "ui/gfx/rect.h" #include "ui/gfx/rect_conversions.h" diff --git a/lib/qquickwebcontentsview_p.h b/lib/qquickwebcontentsview_p.h index f7d549324..24580538e 100644 --- a/lib/qquickwebcontentsview_p.h +++ b/lib/qquickwebcontentsview_p.h @@ -42,9 +42,10 @@ #ifndef QQUICKWEBCONTENTSVIEWPRIVATE_H #define QQUICKWEBCONTENTSVIEWPRIVATE_H -#include "qwebcontentsview.h" #include "web_contents_view_qt.h" +class QQuickWebContentsView; + class QQuickWebContentsViewPrivate : public WebContentsViewQtClient { QQuickWebContentsView *q_ptr; diff --git a/lib/qwebcontentsview_p.h b/lib/qwebcontentsview_p.h index 9e3328679..123d028e6 100644 --- a/lib/qwebcontentsview_p.h +++ b/lib/qwebcontentsview_p.h @@ -42,11 +42,12 @@ #ifndef QWEBCONTESTSVIEWPRIVATE_H #define QWEBCONTESTSVIEWPRIVATE_H -#include "qwebcontentsview.h" #include "web_contents_view_qt.h" #include <QScopedPointer> +class QWebContentsView; + class QWebContentsViewPrivate : public WebContentsViewQtClient { QWebContentsView *q_ptr; diff --git a/lib/web_contents_delegate_qt.h b/lib/web_contents_delegate_qt.h index 817c219cb..dac00b980 100644 --- a/lib/web_contents_delegate_qt.h +++ b/lib/web_contents_delegate_qt.h @@ -42,8 +42,6 @@ #ifndef WEB_CONTENTS_DELEGATE_QT #define WEB_CONTENTS_DELEGATE_QT -#include "content/public/browser/notification_observer.h" -#include "content/public/browser/notification_registrar.h" #include "content/public/browser/web_contents_delegate.h" #include "content/public/browser/web_contents.h" |