| 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 import 'dart:html'; | 5 import 'dart:html'; |
| 6 import 'dart:async'; | 6 import 'dart:async'; |
| 7 | 7 |
| 8 import 'package:observatory/app.dart'; | 8 import 'package:observatory/app.dart'; |
| 9 import 'package:observatory/models.dart' show IsolateUpdateEvent; | 9 import 'package:observatory/models.dart' show IsolateUpdateEvent; |
| 10 import 'package:observatory/mocks.dart' show IsolateUpdateEventMock; | 10 import 'package:observatory/mocks.dart' show IsolateUpdateEventMock; |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 _subscription = null; | 65 _subscription = null; |
| 66 } | 66 } |
| 67 } | 67 } |
| 68 | 68 |
| 69 void render() { | 69 void render() { |
| 70 shadowRoot.children = []; | 70 shadowRoot.children = []; |
| 71 if (ref == null) return; | 71 if (ref == null) return; |
| 72 | 72 |
| 73 shadowRoot.children = [ | 73 shadowRoot.children = [ |
| 74 new StyleElement() | 74 new StyleElement() |
| 75 ..text = '@import "packages/observatory/src/elements/css/shared.css";', | 75 ..text = ''' |
| 76 isolate-ref-wrapped > a[href]:hover { |
| 77 text-decoration: underline; |
| 78 } |
| 79 isolate-ref-wrapped > a[href] { |
| 80 color: #0489c3; |
| 81 text-decoration: none; |
| 82 }''', |
| 76 new IsolateRefElement(_isolate, _updates, | 83 new IsolateRefElement(_isolate, _updates, |
| 77 queue: ObservatoryApplication.app.queue) | 84 queue: ObservatoryApplication.app.queue) |
| 78 ]; | 85 ]; |
| 79 } | 86 } |
| 80 } | 87 } |
| OLD | NEW |