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

Side by Side Diff: chrome/browser/resources/print_preview/margin_settings.js

Issue 8371017: Print Preview: Changing the structure of the html/css. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed css class no-padding. Created 9 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 * Creates a Margins object that holds four margin values. The units in which 9 * Creates a Margins object that holds four margin values. The units in which
10 * the values are expressed can be any numeric value. 10 * the values are expressed can be any numeric value.
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 this.lastSelectedOption_ = MarginSettings.MARGINS_VALUE_DEFAULT; 592 this.lastSelectedOption_ = MarginSettings.MARGINS_VALUE_DEFAULT;
593 } 593 }
594 }, 594 },
595 595
596 /** 596 /**
597 * Executes when a PDFLoaded event occurs. 597 * Executes when a PDFLoaded event occurs.
598 * @private 598 * @private
599 */ 599 */
600 onPDFLoaded_: function() { 600 onPDFLoaded_: function() {
601 if (!previewModifiable) 601 if (!previewModifiable)
602 fadeOutElement(this.marginsOption_); 602 fadeOutOption(this.marginsOption_);
603 } 603 }
604 }; 604 };
605 605
606 return { 606 return {
607 MarginSettings: MarginSettings, 607 MarginSettings: MarginSettings,
608 PageLayout: PageLayout, 608 PageLayout: PageLayout,
609 setNumberFormatAndMeasurementSystem: 609 setNumberFormatAndMeasurementSystem:
610 MarginSettings.setNumberFormatAndMeasurementSystem, 610 MarginSettings.setNumberFormatAndMeasurementSystem,
611 }; 611 };
612 }); 612 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698