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

Side by Side 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, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/renderer_host/render_widget_host_view.h" 5 #include "content/browser/renderer_host/render_widget_host_view.h"
6 6
7 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h"
8 #include "third_party/WebKit/Source/WebKit/chromium/public/mac/WebScreenInfoFact ory.h"
9
10 // TODO(jam): move this to render_widget_host_view_mac.mm when it moves to
11 // content.
12 #if defined(OS_MACOSX)
13 // static
14 void RenderWidgetHostView::GetDefaultScreenInfo(
15 WebKit::WebScreenInfo* results) {
16 *results = WebKit::WebScreenInfoFactory::screenInfo(NULL);
17 }
18 #endif
19
7 RenderWidgetHostView::~RenderWidgetHostView() {} 20 RenderWidgetHostView::~RenderWidgetHostView() {}
8 21
9 void RenderWidgetHostView::SetBackground(const SkBitmap& background) { 22 void RenderWidgetHostView::SetBackground(const SkBitmap& background) {
10 background_ = background; 23 background_ = background;
11 } 24 }
OLDNEW
« 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