diff options
Diffstat (limited to 'content/browser/renderer_host/render_widget_host_view.cc')
-rw-r--r-- | content/browser/renderer_host/render_widget_host_view.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/content/browser/renderer_host/render_widget_host_view.cc b/content/browser/renderer_host/render_widget_host_view.cc index a3b4d8c..f96559c 100644 --- a/content/browser/renderer_host/render_widget_host_view.cc +++ b/content/browser/renderer_host/render_widget_host_view.cc @@ -4,6 +4,19 @@ #include "content/browser/renderer_host/render_widget_host_view.h" +#include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" +#include "third_party/WebKit/Source/WebKit/chromium/public/mac/WebScreenInfoFactory.h" + +// TODO(jam): move this to render_widget_host_view_mac.mm when it moves to +// content. +#if defined(OS_MACOSX) +// static +void RenderWidgetHostView::GetDefaultScreenInfo( + WebKit::WebScreenInfo* results) { + *results = WebKit::WebScreenInfoFactory::screenInfo(NULL); +} +#endif + RenderWidgetHostView::~RenderWidgetHostView() {} void RenderWidgetHostView::SetBackground(const SkBitmap& background) { |