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

Unified Diff: sky/engine/core/view/View.idl

Issue 1139823010: Plumb display metrics into SkyView (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 7 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: sky/engine/core/view/View.idl
diff --git a/sky/engine/core/view/View.idl b/sky/engine/core/view/View.idl
index abfe81f87fe91641967deeb6d473ac6ae2c078c8..d6d37cac88f8a9bceb8c8af4362b15b8469f101b 100644
--- a/sky/engine/core/view/View.idl
+++ b/sky/engine/core/view/View.idl
@@ -3,6 +3,10 @@
// found in the LICENSE file.
interface View {
+ readonly attribute double devicePixelRatio;
+ readonly attribute double width;
+ readonly attribute double height;
+
attribute Picture picture;
void schedulePaint();

Powered by Google App Engine
This is Rietveld 408576698