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

Unified Diff: runtime/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/error_ref.html

Issue 509563004: Give instances their own model class; move DartErrors out of instance-ref into their own error-ref. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase and build Created 6 years, 4 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/observatory/deployed/web/packages/observatory/src/elements/error_ref.html
diff --git a/runtime/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/error_ref.html b/runtime/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/error_ref.html
new file mode 100644
index 0000000000000000000000000000000000000000..ae047c7685f76901860b47c5d7e69c52817eeb8d
--- /dev/null
+++ b/runtime/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/error_ref.html
@@ -0,0 +1,26 @@
+<link rel="import" href="../../../../packages/polymer/polymer.html">
+<link rel="import" href="curly_block.html">
+<link rel="import" href="observatory_element.html">
+<link rel="import" href="service_ref.html">
+
+<polymer-element name="error-ref" extends="service-ref">
+ <template>
+ <link rel="stylesheet" href="css/shared.css">
+ <style>
+ .errorBox {
+ background-color: #f5f5f5;
+ border: 1px solid #ccc;
+ padding: 10px;
+ font-family: consolas, courier, monospace;
+ font-size: 1em;
+ line-height: 1.2em;
+ white-space: pre;
+ }
+ </style>
+ <span>
+ <pre class="errorBox">{{ ref.kind }}: {{ ref.message }}</pre>
+ </span>
+ </template>
+</polymer-element>
+
+<script type="application/dart" src="error_ref.dart"></script>

Powered by Google App Engine
This is Rietveld 408576698