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

Unified Diff: sky/framework/components/popup_menu.dart

Issue 1043283003: [Effen] s/Node/UINode/, s/Element/WrapperNode/, s/EventTarget/EventListenerNode/ (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « sky/framework/components/modal_overlay.dart ('k') | sky/framework/components/popup_menu_item.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/components/popup_menu.dart
diff --git a/sky/framework/components/popup_menu.dart b/sky/framework/components/popup_menu.dart
index 9b42bc50a68a1b52e543c9cb553ca14678b38226..19b47df14e689236a287efb5e85f7917eef6c6ca 100644
--- a/sky/framework/components/popup_menu.dart
+++ b/sky/framework/components/popup_menu.dart
@@ -41,7 +41,7 @@ class PopupMenu extends AnimatedComponent {
box-sizing: border-box;
background-color: ${Grey[50]};''');
- List<List<Node>> items;
+ List<List<UINode>> items;
int level;
PopupMenuController controller;
@@ -82,9 +82,9 @@ class PopupMenu extends AnimatedComponent {
});
}
- Node build() {
+ UINode build() {
int i = 0;
- List<Node> children = new List.from(items.map((List<Node> item) {
+ List<UINode> children = new List.from(items.map((List<UINode> item) {
double opacity = _opacityFor(i);
return new PopupMenuItem(key: i++, children: item, opacity: opacity);
}));
« no previous file with comments | « sky/framework/components/modal_overlay.dart ('k') | sky/framework/components/popup_menu_item.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698