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

Unified Diff: components/mus/public/interfaces/quads.mojom

Issue 2028573003: Implement gfx::Transform StructTraits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing build file Created 4 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
« no previous file with comments | « components/mus/public/interfaces/BUILD.gn ('k') | components/mus/ws/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/interfaces/quads.mojom
diff --git a/components/mus/public/interfaces/quads.mojom b/components/mus/public/interfaces/quads.mojom
index 4dea09b404c7db4911b02d3a9a16c4432369e17b..cacbecaf9b5bf5fa58644a771d1c357a7f762da5 100644
--- a/components/mus/public/interfaces/quads.mojom
+++ b/components/mus/public/interfaces/quads.mojom
@@ -7,6 +7,7 @@ module mus.mojom;
import "cc/ipc/render_pass_id.mojom";
import "cc/ipc/surface_id.mojom";
import "ui/gfx/geometry/mojo/geometry.mojom";
+import "ui/gfx/mojo/transform.mojom";
struct Color {
uint32 rgba;
@@ -197,7 +198,7 @@ enum SkXfermode {
struct SharedQuadState {
// mojo.Transforms quad rects into the target content space.
- mojo.Transform quad_to_target_transform;
+ gfx.mojom.Transform quad_to_target_transform;
// The size of the quads' originating layer in the space of the quad rects.
mojo.Size quad_layer_bounds;
@@ -219,7 +220,7 @@ struct Pass {
cc.mojom.RenderPassId id;
mojo.Rect output_rect;
mojo.Rect damage_rect;
- mojo.Transform transform_to_root_target;
+ gfx.mojom.Transform transform_to_root_target;
bool has_transparent_background;
array<Quad> quads;
array<SharedQuadState> shared_quad_states;
« no previous file with comments | « components/mus/public/interfaces/BUILD.gn ('k') | components/mus/ws/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698