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

Unified Diff: runtime/observatory/lib/src/elements/nav/top_menu.dart

Issue 2168463004: Converted Observatory isolate-nav-menu element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fixed long line Created 4 years, 5 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/nav/top_menu.dart
diff --git a/runtime/observatory/lib/src/elements/nav/top_menu.dart b/runtime/observatory/lib/src/elements/nav/top_menu.dart
index cc8c01597bd34d4819c407e789e752e20dd2e772..a289277df186a16687cc188bbe8d17d2f5217874 100644
--- a/runtime/observatory/lib/src/elements/nav/top_menu.dart
+++ b/runtime/observatory/lib/src/elements/nav/top_menu.dart
@@ -4,8 +4,9 @@
import 'dart:html';
import 'dart:async';
-import 'package:observatory/src/elements/helpers/tag.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/nav/menu.dart';
import 'package:observatory/src/elements/nav/menu_item.dart';
@@ -47,10 +48,10 @@ class NavTopMenuElement extends HtmlElement implements Renderable {
void render() {
shadowRoot.children = [
- new NavMenuElement('Observatory', link: '/vm', last: last,
+ new NavMenuElement('Observatory', link: Uris.vm(), last: last,
queue: _r.queue)
..children = [
- new NavMenuItemElement('Connect to a VM', link: '/vm-connect',
+ new NavMenuItemElement('Connect to a VM', link: Uris.vmConnect(),
queue: _r.queue),
new ContentElement()
]
« no previous file with comments | « runtime/observatory/lib/src/elements/nav/menu_wrapper.dart ('k') | runtime/observatory/lib/src/elements/nav_bar.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698