| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 debugger_page_element; | 5 library debugger_page_element; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'dart:html'; | 8 import 'dart:html'; |
| 9 import 'observatory_element.dart'; | 9 import 'observatory_element.dart'; |
| 10 import 'package:observatory/app.dart'; | 10 import 'package:observatory/app.dart'; |
| (...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 883 _refreshStack(isolate.pauseEvent).then((_) { | 883 _refreshStack(isolate.pauseEvent).then((_) { |
| 884 reportStatus(); | 884 reportStatus(); |
| 885 }); | 885 }); |
| 886 }); | 886 }); |
| 887 }); | 887 }); |
| 888 } else { | 888 } else { |
| 889 reportStatus(); | 889 reportStatus(); |
| 890 } | 890 } |
| 891 } | 891 } |
| 892 | 892 |
| 893 void set isolate(Isolate iso) { | 893 set isolate(Isolate iso) { |
| 894 // Setting the page's isolate will trigger updateIsolate to be called. | 894 // Setting the page's isolate will trigger updateIsolate to be called. |
| 895 // | 895 // |
| 896 // TODO(turnidge): Rework ownership of the ObservatoryDebugger in another | 896 // TODO(turnidge): Rework ownership of the ObservatoryDebugger in another |
| 897 // change. | 897 // change. |
| 898 page.isolate = iso; | 898 page.isolate = iso; |
| 899 } | 899 } |
| 900 Isolate get isolate => _isolate; | 900 Isolate get isolate => _isolate; |
| 901 Isolate _isolate; | 901 Isolate _isolate; |
| 902 var _subscription; | 902 var _subscription; |
| 903 | 903 |
| (...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1494 default: | 1494 default: |
| 1495 busy = false; | 1495 busy = false; |
| 1496 break; | 1496 break; |
| 1497 } | 1497 } |
| 1498 }); | 1498 }); |
| 1499 } | 1499 } |
| 1500 | 1500 |
| 1501 DebuggerInputElement.created() : super.created(); | 1501 DebuggerInputElement.created() : super.created(); |
| 1502 } | 1502 } |
| 1503 | 1503 |
| OLD | NEW |