Index: runtime/observatory/lib/src/app/page.dart |
diff --git a/runtime/observatory/lib/src/app/page.dart b/runtime/observatory/lib/src/app/page.dart |
index bc2bb43b74a339a731ef96b217cf60c02f75293e..21305e1a4cdfa7f48edb01311c62f541f863cb0a 100644 |
--- a/runtime/observatory/lib/src/app/page.dart |
+++ b/runtime/observatory/lib/src/app/page.dart |
@@ -425,3 +425,21 @@ class MetricsPage extends Page { |
bool canVisit(Uri uri) => uri.path == 'metrics'; |
} |
+ |
+class TimelinePage extends Page { |
+ TimelinePage(app) : super(app); |
+ |
+ void onInstall() { |
+ if (element == null) { |
+ element = new Element.tag('timeline-page'); |
+ } |
+ assert(element != null); |
+ } |
+ |
+ void _visit(Uri uri) { |
+ assert(element != null); |
+ assert(canVisit(uri)); |
+ } |
+ |
+ bool canVisit(Uri uri) => uri.path == 'timeline'; |
+} |