Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1762)

Unified Diff: content/browser/renderer_host/render_widget_host_view.cc

Issue 7746008: Move resource_dispatcher_host_unittest.cc to content_unittests now that all its link time depende... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view.cc
===================================================================
--- content/browser/renderer_host/render_widget_host_view.cc (revision 98166)
+++ content/browser/renderer_host/render_widget_host_view.cc (working copy)
@@ -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) {
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698