diff options
Diffstat (limited to 'shared')
-rw-r--r-- | shared/shared_globals.cpp | 6 | ||||
-rw-r--r-- | shared/shared_globals.h | 7 |
2 files changed, 13 insertions, 0 deletions
diff --git a/shared/shared_globals.cpp b/shared/shared_globals.cpp index 69687e6e2..bb2fcfb39 100644 --- a/shared/shared_globals.cpp +++ b/shared/shared_globals.cpp @@ -64,6 +64,12 @@ void GetScreenInfoFromNativeWindow(QWindow* window, WebKit::WebScreenInfo* resul } namespace content { +WebContentsViewPort* CreateWebContentsView(WebContentsImpl*, + WebContentsViewDelegate*, + RenderViewHostDelegateView**) +{ + return 0; +} RenderWidgetHostView* RenderWidgetHostView::CreateViewForWidget(RenderWidgetHost*) { // WebContentsViewQt should take care of this directly. diff --git a/shared/shared_globals.h b/shared/shared_globals.h index 0972c3a9e..1e4b9183a 100644 --- a/shared/shared_globals.h +++ b/shared/shared_globals.h @@ -44,6 +44,13 @@ #include "third_party/WebKit/public/platform/WebScreenInfo.h" +namespace content { +class WebContentsImpl; +class WebContentsViewPort; +class WebContentsViewDelegate; +class RenderViewHostDelegateView; +} // namespace content + class QWindow; void GetScreenInfoFromNativeWindow(QWindow* window, WebKit::WebScreenInfo* results); |