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

Side by Side Diff: dart/samples/ui_lib/base/Size.dart

Issue 11233061: Revert "Parts must start with 'part of'" and "Attempt to fix VM build" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 1 month 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 | « dart/samples/ui_lib/base/Env.dart ('k') | dart/samples/ui_lib/base/base.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 part of base;
2
3 // 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
4 // 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
5 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
6 4
7 /** 5 /**
8 * A utility class for representing two-dimensional sizes. 6 * A utility class for representing two-dimensional sizes.
9 */ 7 */
10 class Size { 8 class Size {
11 num width; 9 num width;
12 num height; 10 num height;
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 } 129 }
132 130
133 /** 131 /**
134 * Returns a nice string representing size. 132 * Returns a nice string representing size.
135 * Returns in the form (50 x 73). 133 * Returns in the form (50 x 73).
136 */ 134 */
137 String toString() { 135 String toString() {
138 return "(${width} x ${height})"; 136 return "(${width} x ${height})";
139 } 137 }
140 } 138 }
OLDNEW
« no previous file with comments | « dart/samples/ui_lib/base/Env.dart ('k') | dart/samples/ui_lib/base/base.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698