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

Unified Diff: mojo/dart/packages/mojo_services/lib/mojo/media/media_state.mojom.dart

Issue 1539673003: Generate Mojom Types in Dart (Take 2) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Merge with master 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
Index: mojo/dart/packages/mojo_services/lib/mojo/media/media_state.mojom.dart
diff --git a/mojo/dart/packages/mojo_services/lib/mojo/media/media_state.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/media/media_state.mojom.dart
index fd5a9fbff2f1d4aaad576d68a31d2e0928eb2ba4..7aef5dd77dd7690e2c4ebb23a7d7b60a1487e65f 100644
--- a/mojo/dart/packages/mojo_services/lib/mojo/media/media_state.mojom.dart
+++ b/mojo/dart/packages/mojo_services/lib/mojo/media/media_state.mojom.dart
@@ -8,6 +8,8 @@ import 'dart:async';
import 'package:mojo/bindings.dart' as bindings;
import 'package:mojo/core.dart' as core;
+import 'package:mojo/mojo/bindings/types/mojom_types.mojom.dart' as mojom_types;
+
class MediaState extends bindings.MojoEnum {
static const MediaState fault = const MediaState._(0);
@@ -74,6 +76,8 @@ class MediaState extends bindings.MojoEnum {
return 'MediaState.playing';
case ended:
return 'MediaState.ended';
+ default:
+ return null;
}
}
@@ -82,3 +86,7 @@ class MediaState extends bindings.MojoEnum {
+
+
+
+

Powered by Google App Engine
This is Rietveld 408576698