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

Side by Side Diff: utils/css/css.dart

Issue 8931001: Don't depend on dart:dom in file_system_memory.dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years 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 | Annotate | Revision Log
« no previous file with comments | « frog/file_system_memory.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #library('css'); 5 #library('css');
6 6
7 #import('dart:dom');
7 #import('../../frog/lang.dart', prefix:'lang'); 8 #import('../../frog/lang.dart', prefix:'lang');
8 #import('../../frog/file_system_memory.dart'); 9 #import('../../frog/file_system_memory.dart');
9 10
10 #source('tokenkind.dart'); 11 #source('tokenkind.dart');
11 #source('tokenizer.dart'); 12 #source('tokenizer.dart');
12 #source('tree.dart'); 13 #source('tree.dart');
13 #source('cssselectorexception.dart'); 14 #source('cssselectorexception.dart');
14 #source('cssworld.dart'); 15 #source('cssworld.dart');
15 #source('parser.dart'); 16 #source('parser.dart');
16 17
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 output = prettyTree; 54 output = prettyTree;
54 } 55 }
55 } catch (var e) { 56 } catch (var e) {
56 String error = e.toString(); 57 String error = e.toString();
57 output = "$error\n$prettyTree"; 58 output = "$error\n$prettyTree";
58 throw e; 59 throw e;
59 } 60 }
60 61
61 return output; 62 return output;
62 } 63 }
OLDNEW
« no previous file with comments | « frog/file_system_memory.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698