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

Unified Diff: runtime/observatory/lib/elements.dart

Issue 2204973003: Converted Observatory class-ref & library-ref elements (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fixed indentation Created 4 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
« no previous file with comments | « no previous file | runtime/observatory/lib/elements.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/elements.dart
diff --git a/runtime/observatory/lib/elements.dart b/runtime/observatory/lib/elements.dart
index 2e516043e20c0774532be94c1125e0ed4089cebb..52bd3569792391482d71f77c96b554fbf2a93341 100644
--- a/runtime/observatory/lib/elements.dart
+++ b/runtime/observatory/lib/elements.dart
@@ -2,7 +2,7 @@ library observatory_elements;
// Export elements.
export 'package:observatory/src/elements/action_link.dart';
-export 'package:observatory/src/elements/class_ref.dart';
+export 'package:observatory/src/elements/class_ref_as_value.dart';
export 'package:observatory/src/elements/class_tree.dart';
export 'package:observatory/src/elements/class_view.dart';
export 'package:observatory/src/elements/code_view.dart';
@@ -30,7 +30,7 @@ export 'package:observatory/src/elements/isolate_reconnect.dart';
export 'package:observatory/src/elements/isolate_summary.dart';
export 'package:observatory/src/elements/isolate_view.dart';
export 'package:observatory/src/elements/json_view.dart';
-export 'package:observatory/src/elements/library_ref.dart';
+export 'package:observatory/src/elements/library_ref_as_value.dart';
export 'package:observatory/src/elements/library_view.dart';
export 'package:observatory/src/elements/logging.dart';
export 'package:observatory/src/elements/megamorphiccache_view.dart';
@@ -53,6 +53,8 @@ export 'package:observatory/src/elements/vm_view.dart';
import 'dart:async';
+import 'package:observatory/src/elements/class_ref.dart';
+import 'package:observatory/src/elements/class_ref_wrapper.dart';
import 'package:observatory/src/elements/code_ref.dart';
import 'package:observatory/src/elements/code_ref_wrapper.dart';
import 'package:observatory/src/elements/containers/virtual_collection.dart';
@@ -65,6 +67,8 @@ import 'package:observatory/src/elements/function_ref.dart';
import 'package:observatory/src/elements/function_ref_wrapper.dart';
import 'package:observatory/src/elements/isolate_ref.dart';
import 'package:observatory/src/elements/isolate_ref_wrapper.dart';
+import 'package:observatory/src/elements/library_ref.dart';
+import 'package:observatory/src/elements/library_ref_wrapper.dart';
import 'package:observatory/src/elements/nav/bar.dart';
import 'package:observatory/src/elements/nav/class_menu.dart';
import 'package:observatory/src/elements/nav/class_menu_wrapper.dart';
@@ -96,6 +100,7 @@ import 'package:observatory/src/elements/vm_connect.dart';
export 'package:observatory/src/elements/helpers/rendering_queue.dart';
+export 'package:observatory/src/elements/class_ref.dart';
export 'package:observatory/src/elements/code_ref.dart';
export 'package:observatory/src/elements/containers/virtual_collection.dart';
export 'package:observatory/src/elements/containers/virtual_tree.dart';
@@ -103,6 +108,7 @@ export 'package:observatory/src/elements/curly_block.dart';
export 'package:observatory/src/elements/error_ref.dart';
export 'package:observatory/src/elements/function_ref.dart';
export 'package:observatory/src/elements/isolate_ref.dart';
+export 'package:observatory/src/elements/library_ref.dart';
export 'package:observatory/src/elements/nav/bar.dart';
export 'package:observatory/src/elements/nav/class_menu.dart';
export 'package:observatory/src/elements/nav/isolate_menu.dart';
@@ -124,6 +130,8 @@ export 'package:observatory/src/elements/vm_connect.dart';
// Even though this function does not invoke any asynchronous operation
// it is marked as async to allow future backward compatible changes.
Future initElements() async {
+ ClassRefElement.tag.ensureRegistration();
+ ClassRefElementWrapper.tag.ensureRegistration();
CodeRefElement.tag.ensureRegistration();
CodeRefElementWrapper.tag.ensureRegistration();
CurlyBlockElement.tag.ensureRegistration();
@@ -134,6 +142,8 @@ Future initElements() async {
FunctionRefElementWrapper.tag.ensureRegistration();
IsolateRefElement.tag.ensureRegistration();
IsolateRefElementWrapper.tag.ensureRegistration();
+ LibraryRefElement.tag.ensureRegistration();
+ LibraryRefElementWrapper.tag.ensureRegistration();
NavBarElement.tag.ensureRegistration();
NavClassMenuElement.tag.ensureRegistration();
NavClassMenuElementWrapper.tag.ensureRegistration();
« no previous file with comments | « no previous file | runtime/observatory/lib/elements.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698