| Index: runtime/bin/vmservice/client/lib/src/observatory_elements/navigation_bar_isolate.dart
|
| diff --git a/runtime/bin/vmservice/client/lib/src/observatory_elements/navigation_bar_isolate.dart b/runtime/bin/vmservice/client/lib/src/observatory_elements/navigation_bar_isolate.dart
|
| deleted file mode 100644
|
| index e42a66e2ef025b96be9f5f98b76c99f37f627747..0000000000000000000000000000000000000000
|
| --- a/runtime/bin/vmservice/client/lib/src/observatory_elements/navigation_bar_isolate.dart
|
| +++ /dev/null
|
| @@ -1,47 +0,0 @@
|
| -// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -library navigation_bar_isolate_element;
|
| -
|
| -import 'observatory_element.dart';
|
| -import 'package:polymer/polymer.dart';
|
| -
|
| -@CustomTag('navigation-bar-isolate')
|
| -class NavigationBarIsolateElement extends ObservatoryElement {
|
| - NavigationBarIsolateElement.created() : super.created();
|
| - @observable List<String> links = toObservable(
|
| - [ 'Stacktrace', 'Library', 'CPU Profile']);
|
| -
|
| - void appChanged(oldValue) {
|
| - super.appChanged(oldValue);
|
| - notifyPropertyChange(#currentIsolateName, '', currentIsolateName);
|
| - }
|
| -
|
| - String currentIsolateName() {
|
| - if (app == null) {
|
| - return '';
|
| - }
|
| - var isolate = app.locationManager.currentIsolate();
|
| - if (isolate == null) {
|
| - return '';
|
| - }
|
| - return isolate.name;
|
| - }
|
| -
|
| - String currentIsolateLink(String link) {
|
| - if (app == null) {
|
| - return '';
|
| - }
|
| - switch (link) {
|
| - case 'Stacktrace':
|
| - return app.locationManager.currentIsolateRelativeLink('stacktrace');
|
| - case 'Library':
|
| - return app.locationManager.currentIsolateRelativeLink('library');
|
| - case 'CPU Profile':
|
| - return app.locationManager.currentIsolateRelativeLink('profile');
|
| - default:
|
| - return app.locationManager.currentIsolateRelativeLink('');
|
| - }
|
| - }
|
| -}
|
|
|