| 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'; | 7 import 'dart:async'; |
| 8 import 'dart:html'; | |
| 9 import 'observatory_element.dart'; | 8 import 'observatory_element.dart'; |
| 10 import 'package:observatory/app.dart'; | 9 import 'package:observatory/app.dart'; |
| 11 import 'package:observatory/service.dart'; | 10 import 'package:observatory/service.dart'; |
| 12 import 'package:logging/logging.dart'; | |
| 13 import 'package:polymer/polymer.dart'; | 11 import 'package:polymer/polymer.dart'; |
| 14 | 12 |
| 15 @CustomTag('isolate-summary') | 13 @CustomTag('isolate-summary') |
| 16 class IsolateSummaryElement extends ObservatoryElement { | 14 class IsolateSummaryElement extends ObservatoryElement { |
| 17 IsolateSummaryElement.created() : super.created(); | 15 IsolateSummaryElement.created() : super.created(); |
| 18 | 16 |
| 19 @published Isolate isolate; | 17 @published Isolate isolate; |
| 20 } | 18 } |
| 21 | 19 |
| 22 @CustomTag('isolate-run-state') | 20 @CustomTag('isolate-run-state') |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 chart.update(counters); | 103 chart.update(counters); |
| 106 var element = shadowRoot.querySelector('#counterPieChart'); | 104 var element = shadowRoot.querySelector('#counterPieChart'); |
| 107 if (element != null) { | 105 if (element != null) { |
| 108 chart.draw(element); | 106 chart.draw(element); |
| 109 } | 107 } |
| 110 } | 108 } |
| 111 } | 109 } |
| 112 | 110 |
| 113 | 111 |
| 114 | 112 |
| OLD | NEW |