OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 cr.define('print_preview', function() { | 5 cr.define('print_preview', function() { |
6 'use strict'; | 6 'use strict'; |
7 | 7 |
8 /** | 8 /** |
9 * Checks if |text| has a valid margin value format. A valid format is | 9 * Checks if |text| has a valid margin value format. A valid format is |
10 * parsable as a number and is greater than zero. | 10 * parsable as a number and is greater than zero. |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 convertPointsToLocaleUnitsAndBack, | 178 convertPointsToLocaleUnitsAndBack, |
179 convertPointsToLocaleUnitsText: convertPointsToLocaleUnitsText, | 179 convertPointsToLocaleUnitsText: convertPointsToLocaleUnitsText, |
180 convertLocaleUnitsToPoints: convertLocaleUnitsToPoints, | 180 convertLocaleUnitsToPoints: convertLocaleUnitsToPoints, |
181 extractMarginValue: extractMarginValue, | 181 extractMarginValue: extractMarginValue, |
182 marginValidationStates: marginValidationStates, | 182 marginValidationStates: marginValidationStates, |
183 Rect: Rect, | 183 Rect: Rect, |
184 validateMarginText: validateMarginText, | 184 validateMarginText: validateMarginText, |
185 validateMarginValue: validateMarginValue | 185 validateMarginValue: validateMarginValue |
186 }; | 186 }; |
187 }); | 187 }); |
OLD | NEW |