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

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

Issue 993033003: Move example fn widgets into sky/framework/components (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/framework/components/material.dart ('k') | sky/framework/components/menu_item.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/components/menu_divider.dart
diff --git a/sky/examples/fn/widgets/menudivider.dart b/sky/framework/components/menu_divider.dart
similarity index 51%
rename from sky/examples/fn/widgets/menudivider.dart
rename to sky/framework/components/menu_divider.dart
index 25b83505c146a760e41b64070aacfbea9bafebe2..46edf36e6a8a997376a275b397476a5acd59345c 100644
--- a/sky/examples/fn/widgets/menudivider.dart
+++ b/sky/framework/components/menu_divider.dart
@@ -1,8 +1,11 @@
-part of widgets;
+// 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.
-class MenuDivider extends Component {
+import '../fn.dart';
- static Style _style = new Style('''
+class MenuDivider extends Component {
+ static final Style _style = new Style('''
margin: 8px 0;
border-bottom: 1px solid rgba(0, 0, 0, 0.12);'''
);
« no previous file with comments | « sky/framework/components/material.dart ('k') | sky/framework/components/menu_item.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698