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

Unified Diff: ui/gfx/mojo/accelerated_widget.mojom

Issue 2071163002: Add StructTraits for AcceleratedWidget instances. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 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
« no previous file with comments | « ui/gfx/mojo/BUILD.gn ('k') | ui/gfx/mojo/accelerated_widget.typemap » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/mojo/accelerated_widget.mojom
diff --git a/ui/gfx/mojo/transform.mojom b/ui/gfx/mojo/accelerated_widget.mojom
similarity index 66%
copy from ui/gfx/mojo/transform.mojom
copy to ui/gfx/mojo/accelerated_widget.mojom
index 1ce0e753f5f55f78ffdc893169308002f6678a42..8647d67b11c54d3e7830d6bda6018917e5f80be5 100644
--- a/ui/gfx/mojo/transform.mojom
+++ b/ui/gfx/mojo/accelerated_widget.mojom
@@ -4,8 +4,7 @@
module gfx.mojom;
-// See ui/gfx/transform.h.
-struct Transform {
- // Row major order.
- array<float, 16> matrix;
+// See ui/gfx/native_widget_types.h.
+struct AcceleratedWidget {
+ uint64 widget;
};
« no previous file with comments | « ui/gfx/mojo/BUILD.gn ('k') | ui/gfx/mojo/accelerated_widget.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698