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

Side by Side Diff: sky/home.dart

Issue 1177383006: Rename all the things (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix imports Created 5 years, 6 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/examples/widgets/spinning_mixed.dart ('k') | sky/sdk/BUILD.gn » ('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
7 import 'package:mojom/intents/intents.mojom.dart'; 7 import 'package:mojom/intents/intents.mojom.dart';
8 import 'package:sky/framework/shell.dart' as shell; 8 import 'package:sky/framework/shell.dart' as shell;
9 import 'package:sky/framework/theme2/colors.dart' as colors; 9 import 'package:sky/theme2/colors.dart' as colors;
10 import 'package:sky/framework/theme2/edges.dart'; 10 import 'package:sky/theme2/edges.dart';
11 import 'package:sky/framework/theme2/typography.dart' as typography; 11 import 'package:sky/theme2/typography.dart' as typography;
12 import 'package:sky/framework/widgets/material.dart'; 12 import 'package:sky/widgets/material.dart';
13 import 'package:sky/framework/widgets/raised_button.dart'; 13 import 'package:sky/widgets/raised_button.dart';
14 import 'package:sky/framework/widgets/scaffold.dart'; 14 import 'package:sky/widgets/scaffold.dart';
15 import 'package:sky/framework/widgets/tool_bar.dart'; 15 import 'package:sky/widgets/tool_bar.dart';
16 import 'package:sky/framework/widgets/basic.dart'; 16 import 'package:sky/widgets/basic.dart';
17 17
18 void launch(String relativeUrl) { 18 void launch(String relativeUrl) {
19 Uri url = Uri.base.resolve(relativeUrl); 19 Uri url = Uri.base.resolve(relativeUrl);
20 url = url.replace(scheme: 'sky'); 20 url = url.replace(scheme: 'sky');
21 21
22 ActivityManagerProxy activityManager = new ActivityManagerProxy.unbound(); 22 ActivityManagerProxy activityManager = new ActivityManagerProxy.unbound();
23 Intent intent = new Intent() 23 Intent intent = new Intent()
24 ..action = 'android.intent.action.VIEW' 24 ..action = 'android.intent.action.VIEW'
25 ..url = url.toString(); 25 ..url = url.toString();
26 shell.requestService(null, activityManager); 26 shell.requestService(null, activityManager);
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 justifyContent: FlexJustifyContent.spaceAround 74 justifyContent: FlexJustifyContent.spaceAround
75 ) 75 )
76 ) 76 )
77 ); 77 );
78 } 78 }
79 } 79 }
80 80
81 void main() { 81 void main() {
82 new SkyHome(); 82 new SkyHome();
83 } 83 }
OLDNEW
« no previous file with comments | « sky/examples/widgets/spinning_mixed.dart ('k') | sky/sdk/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698