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

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: remove now-unnecessary enum casts 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/BUILD.gn ('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..13f143f20b2c7d88d86ef957073c230496546e96 100644
--- a/components/mus/public/interfaces/compositor_frame.mojom
+++ b/components/mus/public/interfaces/compositor_frame.mojom
@@ -17,18 +17,8 @@ enum ResourceFormat {
ETC1,
};
-// 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]
yzshen1 2016/01/26 04:36:29 Considering that we have MinVersion (and previousl
+enum CommandBufferNamespace;
// See src/gpu/command_buffer/common/sync_token.h
struct SyncToken {
« no previous file with comments | « components/mus/public/interfaces/BUILD.gn ('k') | components/mus/public/interfaces/gpu.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698