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

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

Issue 12257016: (Not ready for review!) Toolbar and views high dpi support. Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Cleaned up more useless diffs. Created 7 years, 10 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/browser/ui/views/toolbar_view.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('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_win.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_win.cc b/content/browser/renderer_host/render_widget_host_view_win.cc
index 6021255d7783718b2455236eb0338f02edde8786..f9b2c80a67d610b458a1a83bb54998a2544508f1 100644
--- a/content/browser/renderer_host/render_widget_host_view_win.cc
+++ b/content/browser/renderer_host/render_widget_host_view_win.cc
@@ -860,6 +860,12 @@ bool RenderWidgetHostViewWin::CanCopyToVideoFrame() const {
render_widget_host_->is_accelerated_compositing_active();
}
+// static
+void RenderWidgetHostViewPort::GetDefaultScreenInfo(
+ WebKit::WebScreenInfo* results) {
+ GetScreenInfoForWindow(results, NULL);
+}
+
void RenderWidgetHostViewWin::SetBackground(const SkBitmap& background) {
RenderWidgetHostViewBase::SetBackground(background);
render_widget_host_->SetBackground(background);
@@ -3083,10 +3089,4 @@ RenderWidgetHostView* RenderWidgetHostView::CreateViewForWidget(
return new RenderWidgetHostViewWin(widget);
}
-// static
-void RenderWidgetHostViewPort::GetDefaultScreenInfo(
- WebKit::WebScreenInfo* results) {
- GetScreenInfoForWindow(results, 0);
-}
-
} // namespace content
« no previous file with comments | « chrome/browser/ui/views/toolbar_view.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698