OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library code_view_element; | 5 library code_view_element; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:html'; | 8 import 'dart:html'; |
9 import 'package:observatory/cpu_profile.dart'; | 9 import 'package:observatory/cpu_profile.dart'; |
10 import 'package:observatory/service.dart' as S; | 10 import 'package:observatory/service.dart' as S; |
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
637 return 'dart'; | 637 return 'dart'; |
638 case M.CodeKind.native: | 638 case M.CodeKind.native: |
639 return 'native'; | 639 return 'native'; |
640 case M.CodeKind.stub: | 640 case M.CodeKind.stub: |
641 return 'stub'; | 641 return 'stub'; |
642 case M.CodeKind.tag: | 642 case M.CodeKind.tag: |
643 return 'tag'; | 643 return 'tag'; |
644 case M.CodeKind.collected: | 644 case M.CodeKind.collected: |
645 return 'collected'; | 645 return 'collected'; |
646 } | 646 } |
647 throw new Exception('Unkown CodeKind ($kind)'); | 647 throw new Exception('Unknown CodeKind ($kind)'); |
648 } | 648 } |
649 } | 649 } |
OLD | NEW |