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

Unified Diff: sky/examples/editor/editor_app.dart

Issue 995613002: Implement a basic IME-aware input element (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « sky/apk/demo/org/domokit/sky/demo/SkyDemoApplication.java ('k') | sky/examples/editor/index.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/editor/editor_app.dart
diff --git a/examples/recipes/recipe_handler/recipe.mojom b/sky/examples/editor/editor_app.dart
similarity index 55%
copy from examples/recipes/recipe_handler/recipe.mojom
copy to sky/examples/editor/editor_app.dart
index 1a452572c7a79bc19024259f5a86bcab580ed14e..58239c96c379a8e25b64274cecce43f0b08f2d86 100644
--- a/examples/recipes/recipe_handler/recipe.mojom
+++ b/sky/examples/editor/editor_app.dart
@@ -2,12 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-module recipes;
+import '../../framework/fn.dart';
+import 'input.dart';
-struct Ingredient {
- string url;
-};
-
-interface Recipe {
- GetIngredients() => (array<Ingredient> ingredients);
-};
+class EditorApp extends App {
+ Node build() {
+ return new Input();
+ }
+}
« no previous file with comments | « sky/apk/demo/org/domokit/sky/demo/SkyDemoApplication.java ('k') | sky/examples/editor/index.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698