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

Unified Diff: content/public/browser/android/compositor.h

Issue 12220110: Set the device scale factor from the compositor interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More consistent function ordering 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 | « content/browser/renderer_host/compositor_impl_android.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/android/compositor.h
diff --git a/content/public/browser/android/compositor.h b/content/public/browser/android/compositor.h
index 7cf5da5a638c4833233115373a3360a6aaacd979..f5df4acb6258ad196c44c5128c32e073d84b0c09 100644
--- a/content/public/browser/android/compositor.h
+++ b/content/public/browser/android/compositor.h
@@ -60,6 +60,9 @@ class CONTENT_EXPORT Compositor {
// Attaches the layer tree.
virtual void SetRootLayer(scoped_refptr<cc::Layer> root) = 0;
+ // Set the scale factor from dp to pixel.
aelias_OOO_until_Jul13 2013/02/12 00:16:07 Nit: we usually write "DIP" (for "density independ
+ virtual void setDeviceScaleFactor(float factor) = 0;
+
// Set the output surface bounds.
virtual void SetWindowBounds(const gfx::Size& size) = 0;
« no previous file with comments | « content/browser/renderer_host/compositor_impl_android.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698