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

Unified Diff: sky/examples/stocks-fn/lib/stock_menu.dart

Issue 1005393006: Clean up examples directory (Closed) Base URL: git@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/stocks-fn/lib/stock_list.dart ('k') | sky/examples/stocks-fn/lib/stock_row.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/stocks-fn/lib/stock_menu.dart
diff --git a/sky/examples/stocks-fn/lib/stock_menu.dart b/sky/examples/stocks-fn/lib/stock_menu.dart
deleted file mode 100644
index 4d54e8f6010861d6cd14445f60961c7b422333e3..0000000000000000000000000000000000000000
--- a/sky/examples/stocks-fn/lib/stock_menu.dart
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-import 'package:sky/framework/components/popup_menu.dart';
-import 'package:sky/framework/fn.dart';
-import 'package:sky/framework/theme/view-configuration.dart';
-
-class StockMenu extends Component {
- static final Style _style = new Style('''
- position: absolute;
- right: 8px;
- top: ${8 + kStatusBarHeight}px;''');
-
- PopupMenuController controller;
-
- StockMenu({Object key, this.controller}) : super(key: key);
-
- Node build() {
- return new StyleNode(
- new PopupMenu(
- controller: controller,
- items: [
- [new Text('Add stock')],
- [new Text('Remove stock')],
- [new Text('Help & feeback')],
- ],
- level: 4),
- _style
- );
- }
-}
« no previous file with comments | « sky/examples/stocks-fn/lib/stock_list.dart ('k') | sky/examples/stocks-fn/lib/stock_row.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698