Index: runtime/bin/vmservice/client/lib/src/observatory_elements/observatory_application.html |
diff --git a/runtime/bin/vmservice/client/lib/src/observatory_elements/observatory_application.html b/runtime/bin/vmservice/client/lib/src/observatory_elements/observatory_application.html |
index 8252a53343b3fbecbb2322dc1b4bec0217de7a99..18a30af8f62f1c34992722360b68a193fd615133 100644 |
--- a/runtime/bin/vmservice/client/lib/src/observatory_elements/observatory_application.html |
+++ b/runtime/bin/vmservice/client/lib/src/observatory_elements/observatory_application.html |
@@ -1,4 +1,5 @@ |
<head> |
+ <link rel="import" href="isolate_profile.html"> |
<link rel="import" href="navigation_bar.html"> |
<link rel="import" href="response_viewer.html"> |
<link rel="import" href="observatory_element.html"> |
@@ -6,7 +7,12 @@ |
<polymer-element name="observatory-application" extends="observatory-element"> |
<template> |
<navigation-bar app="{{ app }}"></navigation-bar> |
- <response-viewer app="{{ app }}"></response-viewer> |
+ <template if="{{ app.locationManager.profile }}"> |
+ <isolate-profile app="{{ app }}"></isolate-profile> |
+ </template> |
+ <template if="{{ app.locationManager.profile == false }}"> |
+ <response-viewer app="{{ app }}"></response-viewer> |
+ </template> |
</template> |
<script type="application/dart" src="observatory_application.dart"></script> |
</polymer-element> |