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

Side by Side Diff: sky/sdk/lib/rendering/paragraph.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/rendering/object.dart ('k') | sky/sdk/lib/rendering/sky_binding.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' as sky; 5 import 'dart:sky' as sky;
6 6
7 import 'box.dart'; 7 import 'package:sky/painting/text_style.dart';
8 import 'object.dart'; 8 import 'package:sky/rendering/box.dart';
9 import '../painting/text_style.dart'; 9 import 'package:sky/rendering/object.dart';
10 10
11 abstract class InlineBase { 11 abstract class InlineBase {
12 sky.Node _toDOM(sky.Document owner); 12 sky.Node _toDOM(sky.Document owner);
13 String toString([String prefix = '']); 13 String toString([String prefix = '']);
14 } 14 }
15 15
16 class InlineText extends InlineBase { 16 class InlineText extends InlineBase {
17 InlineText(this.text) { 17 InlineText(this.text) {
18 assert(text != null); 18 assert(text != null);
19 } 19 }
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 } 189 }
190 190
191 // we should probably expose a way to do precise (inter-glpyh) hit testing 191 // we should probably expose a way to do precise (inter-glpyh) hit testing
192 192
193 String debugDescribeSettings(String prefix) { 193 String debugDescribeSettings(String prefix) {
194 String result = '${super.debugDescribeSettings(prefix)}'; 194 String result = '${super.debugDescribeSettings(prefix)}';
195 result += '${prefix}inline:\n${inline.toString("$prefix ")}\n'; 195 result += '${prefix}inline:\n${inline.toString("$prefix ")}\n';
196 return result; 196 return result;
197 } 197 }
198 } 198 }
OLDNEW
« no previous file with comments | « sky/sdk/lib/rendering/object.dart ('k') | sky/sdk/lib/rendering/sky_binding.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698