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

Side by Side Diff: chrome/browser/resources/print_preview/previewarea/margin_utils.js

Issue 10108001: Refactor print preview web ui (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
OLDNEW
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
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 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698