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

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

Issue 1635613002: [mojo-bindings] Support reuse of native enum classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix more missing public_deps Created 4 years, 11 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/cc.typemap ('k') | components/mus/public/interfaces/gpu.typemap » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/interfaces/compositor_frame.mojom
diff --git a/components/mus/public/interfaces/compositor_frame.mojom b/components/mus/public/interfaces/compositor_frame.mojom
index 38ab06f6ff5d7f2f9b7877be818734eaf34713c2..d12f3f39276d925554ca91942e8ed65349d6b483 100644
--- a/components/mus/public/interfaces/compositor_frame.mojom
+++ b/components/mus/public/interfaces/compositor_frame.mojom
@@ -7,28 +7,13 @@ module mus.mojom;
import "ui/mojo/geometry/geometry.mojom";
import "components/mus/public/interfaces/quads.mojom";
-enum ResourceFormat {
- RGBA_8888,
- RGBA_4444,
- BGRA_8888,
- ALPHA_8,
- LUMINANCE_8,
- RGB_565,
- ETC1,
-};
+// See src/cc/resources/resource_format.h
+[Native=True]
+enum ResourceFormat;
// See src/gpu/command_buffer/common/constants.h
-enum CommandBufferNamespace {
- INVALID = -1,
-
- GPU_IO,
- IN_PROCESS,
- MOJO,
- MOJO_LOCAL,
- OLD_SYNC_POINTS,
-
- NUM_COMMAND_BUFFER_NAMESPACES
-};
+[Native=True]
+enum CommandBufferNamespace;
// See src/gpu/command_buffer/common/sync_token.h
struct SyncToken {
« no previous file with comments | « components/mus/public/interfaces/cc.typemap ('k') | components/mus/public/interfaces/gpu.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698