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

Unified Diff: runtime/observatory/lib/src/elements/nav/top_menu.dart

Issue 2211603002: Centralized event streams (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Merged with master 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
Index: runtime/observatory/lib/src/elements/nav/top_menu.dart
diff --git a/runtime/observatory/lib/src/elements/nav/top_menu.dart b/runtime/observatory/lib/src/elements/nav/top_menu.dart
index a289277df186a16687cc188bbe8d17d2f5217874..f4c6fa140f1c5f0e3fcc2f370e82ddb1f95b91dc 100644
--- a/runtime/observatory/lib/src/elements/nav/top_menu.dart
+++ b/runtime/observatory/lib/src/elements/nav/top_menu.dart
@@ -20,7 +20,9 @@ class NavTopMenuElement extends HtmlElement implements Renderable {
Stream<RenderedEvent<NavTopMenuElement>> get onRendered => _r.onRendered;
bool _last;
+
bool get last => _last;
+
set last(bool value) => _last = _r.checkAndReact(_last, value);
factory NavTopMenuElement({bool last: false, RenderingQueue queue}) {

Powered by Google App Engine
This is Rietveld 408576698