| 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 isolate_summary_element; | 5 library isolate_summary_element; |
| 6 | 6 |
| 7 import 'dart:async'; | |
| 8 import 'observatory_element.dart'; | 7 import 'observatory_element.dart'; |
| 9 import 'package:observatory/app.dart'; | 8 import 'package:observatory/app.dart'; |
| 10 import 'package:observatory/service.dart'; | 9 import 'package:observatory/service.dart'; |
| 11 import 'package:polymer/polymer.dart'; | 10 import 'package:polymer/polymer.dart'; |
| 12 | 11 |
| 13 @CustomTag('isolate-summary') | 12 @CustomTag('isolate-summary') |
| 14 class IsolateSummaryElement extends ObservatoryElement { | 13 class IsolateSummaryElement extends ObservatoryElement { |
| 15 IsolateSummaryElement.created() : super.created(); | 14 IsolateSummaryElement.created() : super.created(); |
| 16 | 15 |
| 17 @published Isolate isolate; | 16 @published Isolate isolate; |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 chart.update(counters); | 84 chart.update(counters); |
| 86 var element = shadowRoot.querySelector('#counterPieChart'); | 85 var element = shadowRoot.querySelector('#counterPieChart'); |
| 87 if (element != null) { | 86 if (element != null) { |
| 88 chart.draw(element); | 87 chart.draw(element); |
| 89 } | 88 } |
| 90 } | 89 } |
| 91 } | 90 } |
| 92 | 91 |
| 93 | 92 |
| 94 | 93 |
| OLD | NEW |