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: components/view_manager/public/interfaces/view_manager.mojom

Issue 1149083010: Mandoline: Remove native_viewport.mojom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Windows Build I hope Created 5 years, 6 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: components/view_manager/public/interfaces/view_manager.mojom
diff --git a/components/view_manager/public/interfaces/view_manager.mojom b/components/view_manager/public/interfaces/view_manager.mojom
index a20533fd72d21e50239d2f565b8e393c78ab9667..70afc08f2c29d0ec29e30dfdc777b2426f7b3ab4 100644
--- a/components/view_manager/public/interfaces/view_manager.mojom
+++ b/components/view_manager/public/interfaces/view_manager.mojom
@@ -5,13 +5,18 @@
module mojo;
import "components/view_manager/public/interfaces/surface_id.mojom";
-import "components/view_manager/public/interfaces/native_viewport.mojom";
import "components/view_manager/public/interfaces/view_manager_constants.mojom";
import "mojo/application/public/interfaces/service_provider.mojom";
import "network/public/interfaces/url_loader.mojom";
import "ui/mojo/events/input_events.mojom";
import "ui/mojo/geometry/geometry.mojom";
+struct ViewportMetrics {
+ Size size_in_pixels;
+ // A value of 0 indicates the real value is not yet available.
+ float device_pixel_ratio = 0.0;
+};
+
struct ViewData {
uint32 parent_id;
uint32 view_id;
« no previous file with comments | « components/view_manager/public/interfaces/native_viewport.mojom ('k') | components/view_manager/view_manager_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698