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

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

Issue 1150303004: Switch to using SourceLocation universally in service protocol. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: post merge 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/script_ref.html
diff --git a/runtime/observatory/lib/src/elements/script_ref.html b/runtime/observatory/lib/src/elements/script_ref.html
index 79f04493fefb2255db433055cbac1306c8a6226d..ccbb17732f8e147a490c8fcc12d2ecc155b41540 100644
--- a/runtime/observatory/lib/src/elements/script_ref.html
+++ b/runtime/observatory/lib/src/elements/script_ref.html
@@ -9,4 +9,14 @@
</template>
</polymer-element>
+<polymer-element name="source-link">
+<template>
+ <template if="{{ location != null }}">
+ <script-ref ref="{{ location.script }}"
+ pos="{{ location.tokenPos }}"></script-ref>
+ </template>
+</template>
+</polymer-element>
+
+
<script type="application/dart" src="script_ref.dart"></script>
« no previous file with comments | « runtime/observatory/lib/src/elements/script_ref.dart ('k') | runtime/observatory/lib/src/service/object.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698