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

Unified Diff: content/renderer/render_widget.h

Issue 10451112: content/chromeos: Fix WebKit software rendering in high-device-scale-factors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: const-int Created 8 years, 6 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
Index: content/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index 570a6ea97a2ea5d36bbdd8a92e30ec872bb345cd..687260ed9942320b0e6d02a56e84a2306e752a64 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -524,6 +524,10 @@ class CONTENT_EXPORT RenderWidget
// Properties of the screen hosting this RenderWidget instance.
WebKit::WebScreenInfo screen_info_;
+ // The device scale factor. This value is computed from the DPI entries in
+ // |screen_info_| on some platforms, and defaults to 1 on other platforms.
+ int device_scale_factor_;
+
// Set to true if we should invert all pixels.
bool invert_;

Powered by Google App Engine
This is Rietveld 408576698