Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(482)

Unified Diff: runtime/observatory/lib/src/elements/debugger.dart

Issue 2310003004: Removed polymer & mirror from Observatory (Closed)
Patch Set: Fixed crash in heap-map page Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/observatory/lib/src/elements/debugger.dart
diff --git a/runtime/observatory/lib/src/elements/debugger.dart b/runtime/observatory/lib/src/elements/debugger.dart
index 3f7d8191ce4db3a68263f64f4f52b258ba6ad1c2..dc5f4439aa4f2a4c073c870d7cf807ee29a6c8a1 100644
--- a/runtime/observatory/lib/src/elements/debugger.dart
+++ b/runtime/observatory/lib/src/elements/debugger.dart
@@ -15,13 +15,13 @@ import 'package:observatory/cli.dart';
import 'package:observatory/debugger.dart';
import 'package:observatory/src/elements/function_ref.dart';
import 'package:observatory/src/elements/helpers/any_ref.dart';
+import 'package:observatory/src/elements/helpers/nav_bar.dart';
+import 'package:observatory/src/elements/helpers/nav_menu.dart';
import 'package:observatory/src/elements/helpers/rendering_scheduler.dart';
import 'package:observatory/src/elements/helpers/tag.dart';
import 'package:observatory/src/elements/helpers/uris.dart';
import 'package:observatory/src/elements/instance_ref.dart';
-import 'package:observatory/src/elements/nav/bar.dart';
import 'package:observatory/src/elements/nav/isolate_menu.dart';
-import 'package:observatory/src/elements/nav/menu.dart';
import 'package:observatory/src/elements/nav/notify.dart';
import 'package:observatory/src/elements/nav/top_menu.dart';
import 'package:observatory/src/elements/nav/vm_menu.dart';
@@ -1914,11 +1914,9 @@ class ObservatoryDebugger extends Debugger {
class DebuggerPageElement extends HtmlElement implements Renderable {
static const tag = const Tag<DebuggerPageElement>('debugger-page',
dependencies: const [
- NavBarElement.tag,
NavTopMenuElement.tag,
NavVMMenuElement.tag,
NavIsolateMenuElement.tag,
- NavMenuElement.tag,
NavNotifyElement.tag,
]);
@@ -1978,15 +1976,14 @@ class DebuggerPageElement extends HtmlElement implements Renderable {
..children = [commandElement];
children = [
- new NavBarElement(queue: app.queue)
- ..children = [
- new NavTopMenuElement(queue: app.queue),
- new NavVMMenuElement(app.vm, app.events, queue: app.queue),
- new NavIsolateMenuElement(_isolate, app.events, queue: app.queue),
- new NavMenuElement('debugger', last: true, queue: app.queue),
- new NavNotifyElement(app.notifications, notifyOnPause: false,
- queue: app.queue)
- ],
+ navBar([
+ new NavTopMenuElement(queue: app.queue),
+ new NavVMMenuElement(app.vm, app.events, queue: app.queue),
+ new NavIsolateMenuElement(_isolate, app.events, queue: app.queue),
+ navMenu('debugger'),
+ new NavNotifyElement(app.notifications, notifyOnPause: false,
+ queue: app.queue)
+ ]),
new DivElement()..classes = ['variable']
..children = [
stackDiv,
« no previous file with comments | « runtime/observatory/lib/src/elements/curly_block_wrapper.dart ('k') | runtime/observatory/lib/src/elements/error_ref.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698