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

Unified Diff: sky/engine/public/platform/sky_display_metrics.h

Issue 1220353002: Add padding values to View.idl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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 | « sky/engine/core/view/View.idl ('k') | sky/sdk/lib/theme/view_configuration.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/public/platform/sky_display_metrics.h
diff --git a/sky/engine/public/platform/sky_display_metrics.h b/sky/engine/public/platform/sky_display_metrics.h
index c045f773f1f6a3aef1847dc1574c2b5f70cdb9f8..abe63b336557948f88ddeb03181575d039e35be3 100644
--- a/sky/engine/public/platform/sky_display_metrics.h
+++ b/sky/engine/public/platform/sky_display_metrics.h
@@ -12,6 +12,10 @@ namespace blink {
struct SkyDisplayMetrics {
WebSize physical_size;
float device_pixel_ratio = 1.0;
+ double padding_top = 0.0;
+ double padding_right = 0.0;
+ double padding_bottom = 0.0;
+ double padding_left = 0.0;
};
} // namespace blink
« no previous file with comments | « sky/engine/core/view/View.idl ('k') | sky/sdk/lib/theme/view_configuration.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698