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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 10941017: Change the scale factor of texture_size from the layer's one to an estimation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_widget_host_view_aura.h
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.h b/content/browser/renderer_host/render_widget_host_view_aura.h
index 04d814c04a38e723d0c7083108e545c4bb6f0a15..23564a3af6b5e4bb6c464df5392fb1133367eb57 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.h
+++ b/content/browser/renderer_host/render_widget_host_view_aura.h
@@ -324,6 +324,9 @@ class RenderWidgetHostViewAura
// Current tooltip text.
string16 tooltip_;
+ // The scale factor of the device.
oshima 2012/09/21 04:32:04 nit: .. of the display the renderer is currently o
Jun Mukai 2012/09/21 18:25:47 Done.
+ float device_scale_factor_;
+
std::vector< base::Callback<void(ui::Compositor*)> >
on_compositing_did_commit_callbacks_;

Powered by Google App Engine
This is Rietveld 408576698