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

Unified Diff: runtime/observatory/lib/src/elements/nav/notify_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
Index: runtime/observatory/lib/src/elements/nav/notify_wrapper.dart
diff --git a/runtime/observatory/lib/src/elements/nav/notify_wrapper.dart b/runtime/observatory/lib/src/elements/nav/notify_wrapper.dart
index 97f4ded559c9776d321322447fc3c1c90517fe6b..76767278c14b5ac98bcbda1bcb823e0dad6f1fa0 100644
--- a/runtime/observatory/lib/src/elements/nav/notify_wrapper.dart
+++ b/runtime/observatory/lib/src/elements/nav/notify_wrapper.dart
@@ -10,9 +10,11 @@ import 'package:observatory/src/elements/helpers/tag.dart';
import 'package:observatory/src/elements/shims/binding.dart';
import 'package:observatory/src/elements/nav/notify.dart';
+@bindable
class NavNotifyElementWrapper extends HtmlElement {
- static final binder = new Binder<NavNotifyElementWrapper>(
- const [const Binding('notifications'), const Binding('notifyOnPause')]);
+ static const binder = const Binder<NavNotifyElementWrapper>(const {
+ 'notifications': #notifications, 'notifyOnPause': #notifyOnPause
+ });
static const tag = const Tag<NavNotifyElementWrapper>('nav-notify');

Powered by Google App Engine
This is Rietveld 408576698