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

Unified Diff: sky/examples/stocks/lib/stock_app.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/examples/hello_world/hello_world.dart ('k') | sky/examples/stocks/lib/stock_arrow.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/stocks/lib/stock_app.dart
diff --git a/sky/examples/stocks/lib/stock_app.dart b/sky/examples/stocks/lib/stock_app.dart
index 8b6ea059cb3cea7f1182fb13eb3c033fe81b410b..9542d53999143118d59570e95c550b2ab68af0cd 100644
--- a/sky/examples/stocks/lib/stock_app.dart
+++ b/sky/examples/stocks/lib/stock_app.dart
@@ -112,7 +112,7 @@ class StocksApp extends App {
);
}
- Node buildActionBar() {
+ UINode buildActionBar() {
return new StyleNode(
new ActionBar(
left: new IconButton(
@@ -133,7 +133,7 @@ class StocksApp extends App {
}
// TODO(abarth): Should we factor this into a SearchBar in the framework?
- Node buildSearchBar() {
+ UINode buildSearchBar() {
return new StyleNode(
new ActionBar(
left: new IconButton(
@@ -146,7 +146,7 @@ class StocksApp extends App {
_searchBarStyle);
}
- void addMenuToOverlays(List<Node> overlays) {
+ void addMenuToOverlays(List<UINode> overlays) {
if (_menuController == null)
return;
overlays.add(new ModalOverlay(
@@ -154,8 +154,8 @@ class StocksApp extends App {
onDismiss: _handleMenuHide));
}
- Node build() {
- List<Node> overlays = [];
+ UINode build() {
+ List<UINode> overlays = [];
addMenuToOverlays(overlays);
return new Scaffold(
« no previous file with comments | « sky/examples/hello_world/hello_world.dart ('k') | sky/examples/stocks/lib/stock_arrow.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698