diff options
author | Andras Becsi <andras.becsi@digia.com> | 2013-07-03 15:59:24 +0200 |
---|---|---|
committer | Zeno Albisser <zeno.albisser@digia.com> | 2013-07-04 11:37:07 +0200 |
commit | 6b2e8031884fc255b1acbf0a1a2df7a23599909b (patch) | |
tree | 98f3d3c4d192e5131cad23b3115cd353a1441af8 /lib/content_browser_client_qt.h | |
parent | b046378c3363a9d2c4eaf74e26f1b4f4acfe13bb (diff) |
Stop using OverrideCreateWebContentsView for creating the contents view
Use the content::CreateWebContentsView factory function to create the
contents view since we already have to implement it.
Change-Id: Ib60cb29604ac84877e154a47ae27f44672284726
Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Diffstat (limited to 'lib/content_browser_client_qt.h')
-rw-r--r-- | lib/content_browser_client_qt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/content_browser_client_qt.h b/lib/content_browser_client_qt.h index 6ac2a62a2..352918233 100644 --- a/lib/content_browser_client_qt.h +++ b/lib/content_browser_client_qt.h @@ -43,6 +43,7 @@ #define CONTENT_BROWSER_CLIENT_QT #include "content/public/browser/content_browser_client.h" +#include <QtCore/qcompilerdetection.h> // Needed for Q_DECL_OVERRIDE namespace net { class URLRequestContextGetter; @@ -64,8 +65,7 @@ class BrowserMainPartsQt; class ContentBrowserClientQt : public content::ContentBrowserClient { public: - virtual content::WebContentsViewPort* OverrideCreateWebContentsView(content::WebContents* , content::RenderViewHostDelegateView**) /*Q_DECL_OVERRIDE*/; - virtual content::BrowserMainParts* CreateBrowserMainParts(const content::MainFunctionParams& parameters) /*Q_DECL_OVERRIDE*/; + virtual content::BrowserMainParts* CreateBrowserMainParts(const content::MainFunctionParams& parameters) Q_DECL_OVERRIDE; BrowserContextQt* browser_context(); |