OLD | NEW |
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 import "dart:math"; | 5 import "dart:math"; |
6 import 'dart:sky'; | 6 import 'dart:sky'; |
7 | 7 |
8 import 'package:sky/framework/shell.dart' as shell; | 8 import 'package:sky/framework/shell.dart' as shell; |
9 import 'package:mojom/intents/intents.mojom.dart'; | 9 import 'package:mojom/intents/intents.mojom.dart'; |
10 | 10 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 return false; | 48 return false; |
49 } | 49 } |
50 | 50 |
51 void main() { | 51 void main() { |
52 print("Hello, world"); | 52 print("Hello, world"); |
53 view.picture = draw(255, 255, 255, 0); | 53 view.picture = draw(255, 255, 255, 0); |
54 view.scheduleFrame(); | 54 view.scheduleFrame(); |
55 | 55 |
56 view.setEventCallback(handleEvent); | 56 view.setEventCallback(handleEvent); |
57 } | 57 } |
OLD | NEW |