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

Side by Side Diff: dart/samples/ui_lib/layout/SizingFunctions.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, 2 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 | Annotate | Revision Log
« no previous file with comments | « dart/samples/ui_lib/layout/GridTracks.dart ('k') | dart/samples/ui_lib/layout/ViewLayout.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 layout;
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 // This file has classes representing the grid sizing functions 5 // This file has classes representing the grid sizing functions
8 6
9 /** 7 /**
10 * Represents the sizing function used for the min or max of a row or column. 8 * Represents the sizing function used for the min or max of a row or column.
11 */ 9 */
12 // TODO(jmesserly): rename to GridSizing, or make internal 10 // TODO(jmesserly): rename to GridSizing, or make internal
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 140
143 class _MaxBreadthAccumulator implements _BreadthAccumulator { 141 class _MaxBreadthAccumulator implements _BreadthAccumulator {
144 const _MaxBreadthAccumulator(); 142 const _MaxBreadthAccumulator();
145 143
146 void setSize(GridTrack t, num value) { t.maxBreadth = value; } 144 void setSize(GridTrack t, num value) { t.maxBreadth = value; }
147 num getSize(GridTrack t) => t.maxBreadth; 145 num getSize(GridTrack t) => t.maxBreadth;
148 146
149 SizingFunction getSizingFunction(GridTrack t) => t.maxSizing; 147 SizingFunction getSizingFunction(GridTrack t) => t.maxSizing;
150 } 148 }
151 149
OLDNEW
« no previous file with comments | « dart/samples/ui_lib/layout/GridTracks.dart ('k') | dart/samples/ui_lib/layout/ViewLayout.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698