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

Unified Diff: trunk/src/mojo/public/bindings/sample/sample_service.mojom

Issue 133843004: Revert 244233 "Add support for using expressions as enum values." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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 | « trunk/src/mojo/public/bindings/parse/mojo_parser.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/mojo/public/bindings/sample/sample_service.mojom
===================================================================
--- trunk/src/mojo/public/bindings/sample/sample_service.mojom (revision 244236)
+++ trunk/src/mojo/public/bindings/sample/sample_service.mojom (working copy)
@@ -5,9 +5,8 @@
module sample {
enum BarType {
- BAR_VERTICAL = 1 << 0,
- BAR_HORIZONTAL = (1 << 1) + 0,
- BAR_BOTH = BAR_VERTICAL | BAR_HORIZONTAL,
+ BAR_VERTICAL = 1,
+ BAR_HORIZONTAL = 2,
BAR_INVALID
};
« no previous file with comments | « trunk/src/mojo/public/bindings/parse/mojo_parser.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698