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

Side by Side Diff: sky/sdk/lib/widgets/task_description.dart

Issue 1209423008: Make the TaskDescription background color match the ToolBar on Android (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Updated per review Created 5 years, 5 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 unified diff | Download patch
« no previous file with comments | « sky/sdk/lib/mojo/activity.dart ('k') | sky/services/intents/intents.mojom » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 import 'package:sky/widgets/widget.dart';
6 import 'package:sky/widgets/theme.dart';
7 import 'package:sky/mojo/activity.dart' as activity;
8
9 class TaskDescription extends Component {
10 Widget child;
Hixie 2015/07/07 23:13:03 these should be final, and after the constructor
11 String label;
12
13 TaskDescription({this.label, this.child});
Hixie 2015/07/07 23:13:03 put spaces inside the {}s around the arguments
14
15 Widget build() {
16 activity.updateTaskDescription(label, Theme.of(this).primaryColor);
17 return child;
18 }
19 }
OLDNEW
« no previous file with comments | « sky/sdk/lib/mojo/activity.dart ('k') | sky/services/intents/intents.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698