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

Unified Diff: sky/sdk/lib/framework/components/action_bar.dart

Issue 1133353008: [Effen] Rename Action Bar to Tool Bar. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 7 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/sdk/BUILD.gn ('k') | sky/sdk/lib/framework/components/tool_bar.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/framework/components/action_bar.dart
diff --git a/sky/sdk/lib/framework/components/action_bar.dart b/sky/sdk/lib/framework/components/action_bar.dart
deleted file mode 100644
index 309fb9b866144a07fb5ce976a5988b4c2e719a0a..0000000000000000000000000000000000000000
--- a/sky/sdk/lib/framework/components/action_bar.dart
+++ /dev/null
@@ -1,47 +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 '../fn.dart';
-import '../layout.dart';
-import '../theme/view_configuration.dart';
-import 'material.dart';
-
-class ActionBar extends Component {
- static final Style _style = new Style('''
- align-items: center;
- height: 56px;
- padding: 0 8px;
- transition: background-color 0.3s;
- padding-top: ${kStatusBarHeight}px;''');
-
- static Style _centerStyle = new Style('''
- padding-left: 24px;''');
-
- static FlexBoxParentData _centerLayoutSettings = new FlexBoxParentData()..flex = 1;
-
- UINode left;
- UINode center;
- List<UINode> right;
-
- ActionBar({
- String key,
- this.left,
- this.center,
- this.right
- }) : super(key: key);
-
- UINode build() {
- List<UINode> children = [left, new StyleNode(new ParentDataNode(center, _centerLayoutSettings), _centerStyle)];
-
- if (right != null)
- children.addAll(right);
-
- return new Material(
- content: new FlexContainer(
- style: _style,
- children: children,
- direction: FlexDirection.Row),
- level: 2);
- }
-}
« no previous file with comments | « sky/sdk/BUILD.gn ('k') | sky/sdk/lib/framework/components/tool_bar.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698