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

Unified Diff: mojo/dart/packages/mojo_services/lib/mojo/input_key_codes.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/input_key_codes.mojom.dart
diff --git a/mojo/dart/packages/mojo_services/lib/mojo/input_key_codes.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/input_key_codes.mojom.dart
index b77744f50e174361b02ac6b6c2dc65a184a97fbd..cea16741eb6cb5b6fefdc1e86a651f402b7382d2 100644
--- a/mojo/dart/packages/mojo_services/lib/mojo/input_key_codes.mojom.dart
+++ b/mojo/dart/packages/mojo_services/lib/mojo/input_key_codes.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 KeyboardCode extends bindings.MojoEnum {
static const KeyboardCode back = const KeyboardCode._(8);
@@ -1236,6 +1238,8 @@ class KeyboardCode extends bindings.MojoEnum {
return 'KeyboardCode.unknown';
case altgr:
return 'KeyboardCode.altgr';
+ default:
+ return null;
}
}
@@ -1244,3 +1248,7 @@ class KeyboardCode extends bindings.MojoEnum {
+
+
+
+

Powered by Google App Engine
This is Rietveld 408576698