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

Unified Diff: runtime/observatory/lib/src/elements/nav_bar.html

Issue 1153193006: Standardize on using "kind" to distinguish sub-varieties of a type. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: doc changes Created 5 years, 7 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_bar.html
diff --git a/runtime/observatory/lib/src/elements/nav_bar.html b/runtime/observatory/lib/src/elements/nav_bar.html
index 5d1c904098c89a44807284c5b962bc80c93bc400..c2e379fd8d7bc4c1a9d53bd6735f1d53ee8e17c2 100644
--- a/runtime/observatory/lib/src/elements/nav_bar.html
+++ b/runtime/observatory/lib/src/elements/nav_bar.html
@@ -322,16 +322,16 @@
<a class="link" on-click="{{ goto }}"
_href="{{ gotoLink('/inspect', event.isolate) }}">{{ event.isolate.name }}</a>
is paused
- <template if="{{ event.eventType == 'PauseStart' }}">
+ <template if="{{ event.kind == 'PauseStart' }}">
at isolate start
</template>
- <template if="{{ event.eventType == 'PauseExit' }}">
+ <template if="{{ event.kind == 'PauseExit' }}">
at isolate exit
</template>
<template if="{{ event.breakpoint != null }}">
at breakpoint {{ event.breakpoint.number }}
</template>
- <template if="{{ event.eventType == 'PauseException' }}">
+ <template if="{{ event.kind == 'PauseException' }}">
due to exception
</template>
@@ -342,7 +342,7 @@
<a class="boxclose" on-click="{{ closeItem }}">&times;</a>
</div>
</template>
- <template if="{{ event.eventType == 'ConnectionClosed' }}">
+ <template if="{{ event.kind == 'ConnectionClosed' }}">
<div class="item">
Disconnected from VM: {{ event.reason }}
<br><br>
@@ -351,7 +351,7 @@
<a class="boxclose" on-click="{{ closeItem }}">&times;</a>
</div>
</template>
- <template if="{{ event.eventType == 'Inspect' }}">
+ <template if="{{ event.kind == 'Inspect' }}">
<div class="item">
Inspect <any-service-ref ref="{{ event.inspectee }}"></any-service-ref>
<br><br>
« no previous file with comments | « runtime/observatory/lib/src/elements/isolate_summary.html ('k') | runtime/observatory/lib/src/service/object.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698