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

Unified Diff: runtime/bin/vmservice/client/lib/src/observatory_elements/observatory_application.html

Issue 100103011: Changes to support dprof and Observatory profiler UIs (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 12 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/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>

Powered by Google App Engine
This is Rietveld 408576698