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

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

Issue 2184873002: Removed dynamic Symbol creation and marked Bindable classes (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 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/src/elements/isolate_ref_wrapper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/src/elements/curly_block_wrapper.dart
diff --git a/runtime/observatory/lib/src/elements/curly_block_wrapper.dart b/runtime/observatory/lib/src/elements/curly_block_wrapper.dart
index 2a141b5108f332c9f94c6f60e0ecb53caf8b92cf..4e2519a69e8ca0a3f683d72bff47cc09dead1d9a 100644
--- a/runtime/observatory/lib/src/elements/curly_block_wrapper.dart
+++ b/runtime/observatory/lib/src/elements/curly_block_wrapper.dart
@@ -12,11 +12,13 @@ import 'package:observatory/src/elements/shims/binding.dart';
typedef _callback();
typedef CurlyBlockToggleCallback(bool a, _callback b);
+@bindable
class CurlyBlockElementWrapper extends HtmlElement {
- static final binder = new Binder<CurlyBlockElementWrapper>(
- const [const Binding('expand'), const Binding('busy'),
- const Binding('expandKey'), const Binding('callback')]);
+ static const binder = const Binder<CurlyBlockElementWrapper>(const {
+ 'expand': #expand, 'busy': #busy, 'expandKey': #expandKey,
+ 'callback': #callback
+ });
static const tag = const Tag<CurlyBlockElementWrapper>('curly-block');
« no previous file with comments | « no previous file | runtime/observatory/lib/src/elements/isolate_ref_wrapper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698