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

Unified Diff: chrome/browser/resources/print_preview/data/ticket_items/scaling.js

Issue 2939273002: DO NOT SUBMIT: what chrome/browser/resources/ could eventually look like with clang-format (Closed)
Patch Set: Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/print_preview/data/ticket_items/scaling.js
diff --git a/chrome/browser/resources/print_preview/data/ticket_items/scaling.js b/chrome/browser/resources/print_preview/data/ticket_items/scaling.js
index e3703d4ff22ca82ce094ea7ad31fcb3050f39a50..e1099dadf365c192e5e4075fa436871202a63025 100644
--- a/chrome/browser/resources/print_preview/data/ticket_items/scaling.js
+++ b/chrome/browser/resources/print_preview/data/ticket_items/scaling.js
@@ -19,10 +19,7 @@ cr.define('print_preview.ticket_items', function() {
*/
function Scaling(appState, destinationStore, documentInfo) {
print_preview.ticket_items.TicketItem.call(
- this,
- appState,
- print_preview.AppStateField.SCALING,
- destinationStore,
+ this, appState, print_preview.AppStateField.SCALING, destinationStore,
documentInfo);
}
@@ -46,9 +43,9 @@ cr.define('print_preview.ticket_items', function() {
var knownSizeToSaveAsPdf =
(!this.getDocumentInfoInternal().isModifiable ||
this.getDocumentInfoInternal().hasCssMediaStyles) &&
- this.getSelectedDestInternal() &&
- this.getSelectedDestInternal().id ==
- print_preview.Destination.GooglePromotedId.SAVE_AS_PDF;
+ this.getSelectedDestInternal() &&
+ this.getSelectedDestInternal().id ==
+ print_preview.Destination.GooglePromotedId.SAVE_AS_PDF;
return !knownSizeToSaveAsPdf;
},
@@ -69,7 +66,5 @@ cr.define('print_preview.ticket_items', function() {
};
// Export
- return {
- Scaling: Scaling
- };
+ return {Scaling: Scaling};
});

Powered by Google App Engine
This is Rietveld 408576698