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

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..a36c8111b005ee48aaef34dfc315c3c696921dad 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 display the renderer is currently on.
+ 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