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

Side by Side Diff: sky/sdk/lib/mojo/activity.dart

Issue 1232313002: Use package:sky imports consistently (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix BUILD.gn 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/editing/keyboard.dart ('k') | sky/sdk/lib/mojo/asset_bundle.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 import 'dart:sky'; 5 import 'dart:sky';
6
6 import 'package:mojom/activity/activity.mojom.dart'; 7 import 'package:mojom/activity/activity.mojom.dart';
7 import 'package:sky/mojo/shell.dart' as shell; 8 import 'package:sky/mojo/shell.dart' as shell;
8 9
9 export 'package:mojom/activity/activity.mojom.dart' show Intent, ComponentName, StringExtra; 10 export 'package:mojom/activity/activity.mojom.dart' show Intent, ComponentName, StringExtra;
10 11
11 const int NEW_DOCUMENT = 0x00080000; 12 const int NEW_DOCUMENT = 0x00080000;
12 const int NEW_TASK = 0x10000000; 13 const int NEW_TASK = 0x10000000;
13 const int MULTIPLE_TASK = 0x08000000; 14 const int MULTIPLE_TASK = 0x08000000;
14 15
15 ActivityProxy _initActivity() { 16 ActivityProxy _initActivity() {
(...skipping 22 matching lines...) Expand all
38 39
39 _cachedPrimaryColor = color; 40 _cachedPrimaryColor = color;
40 _cachedLabel = label; 41 _cachedLabel = label;
41 42
42 TaskDescription description = new TaskDescription() 43 TaskDescription description = new TaskDescription()
43 ..label = label 44 ..label = label
44 ..primaryColor = (color != null ? color.value : null); 45 ..primaryColor = (color != null ? color.value : null);
45 46
46 _activity.ptr.setTaskDescription(description); 47 _activity.ptr.setTaskDescription(description);
47 } 48 }
OLDNEW
« no previous file with comments | « sky/sdk/lib/editing/keyboard.dart ('k') | sky/sdk/lib/mojo/asset_bundle.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698