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

Side by Side Diff: lib/src/files.dart

Issue 22962005: Merge pull request #581 from kevmoo/polymer (Closed) Base URL: https://github.com/dart-lang/web-ui.git@polymer
Patch Set: Created 7 years, 4 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 | « lib/src/emitters.dart ('k') | lib/src/html_css_fixup.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 (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 files; 5 library files;
6 6
7 import 'package:html5lib/dom.dart'; 7 import 'package:html5lib/dom.dart';
8 import 'info.dart';
9 8
10 /** An input file to process by the template compiler. */ 9 /** An input file to process by the template compiler. */
11 class SourceFile { 10 class SourceFile {
12 static const int HTML = 1; 11 static const int HTML = 1;
13 static const int DART = 2; 12 static const int DART = 2;
14 static const int STYLESHEET = 3; 13 static const int STYLESHEET = 3;
15 14
16 final String path; 15 final String path;
17 final int type; 16 final int type;
18 17
(...skipping 20 matching lines...) Expand all
39 * Path to the source file that was transformed into this OutputFile, `null` 38 * Path to the source file that was transformed into this OutputFile, `null`
40 * for files that are generated and do not correspond to an input 39 * for files that are generated and do not correspond to an input
41 * [SourceFile]. 40 * [SourceFile].
42 */ 41 */
43 final String source; 42 final String source;
44 43
45 OutputFile(this.path, this.contents, {this.source}); 44 OutputFile(this.path, this.contents, {this.source});
46 45
47 String toString() => "#<OutputFile $path>"; 46 String toString() => "#<OutputFile $path>";
48 } 47 }
OLDNEW
« no previous file with comments | « lib/src/emitters.dart ('k') | lib/src/html_css_fixup.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698