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

Side by Side Diff: examples/dart/speech_input/speech_input.dart

Issue 1242453003: Extract the shell runner into devtools. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Update more paths and devtools README. Created 5 years, 5 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 unified diff | Download patch
« no previous file with comments | « examples/dart/camera_roll/camera_roll.dart ('k') | examples/go/README.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // To run: mojo/tools/mojo_shell.py --sky \ 5 // To run: mojo/devtools/common/mojo_shell --sky \
6 // examples/dart/speech_input/speech_input.dart --android 6 // examples/dart/speech_input/speech_input.dart --android
7 // 7 //
8 // The speech_recognizer service is only available for Android targets. 8 // The speech_recognizer service is only available for Android targets.
9 9
10 import 'package:mojom/speech_recognizer/speech_recognizer.mojom.dart'; 10 import 'package:mojom/speech_recognizer/speech_recognizer.mojom.dart';
11 import 'package:sky/mojo/embedder.dart'; 11 import 'package:sky/mojo/embedder.dart';
12 12
13 import 'package:sky/widgets/raised_button.dart'; 13 import 'package:sky/widgets/raised_button.dart';
14 import 'package:sky/widgets/basic.dart'; 14 import 'package:sky/widgets/basic.dart';
15 15
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 new SpeechRecognizerServiceProxy.unbound(); 64 new SpeechRecognizerServiceProxy.unbound();
65 65
66 var _result = null; 66 var _result = null;
67 67
68 bool _listening = false; 68 bool _listening = false;
69 } 69 }
70 70
71 void main() { 71 void main() {
72 runApp(new ListenApp()); 72 runApp(new ListenApp());
73 } 73 }
OLDNEW
« no previous file with comments | « examples/dart/camera_roll/camera_roll.dart ('k') | examples/go/README.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698