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

Unified Diff: chrome/browser/resources/print_preview/data/ticket_items/fit_to_page.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/fit_to_page.js
diff --git a/chrome/browser/resources/print_preview/data/ticket_items/fit_to_page.js b/chrome/browser/resources/print_preview/data/ticket_items/fit_to_page.js
index 332e5850508f3b05bc9fe800a420a28f04967994..6dc52f782e9470b9ce01856b514d7345d3034ba1 100644
--- a/chrome/browser/resources/print_preview/data/ticket_items/fit_to_page.js
+++ b/chrome/browser/resources/print_preview/data/ticket_items/fit_to_page.js
@@ -18,11 +18,8 @@ cr.define('print_preview.ticket_items', function() {
*/
function FitToPage(appState, documentInfo, destinationStore) {
print_preview.ticket_items.TicketItem.call(
- this,
- appState,
- print_preview.AppStateField.IS_FIT_TO_PAGE_ENABLED,
- destinationStore,
- documentInfo);
+ this, appState, print_preview.AppStateField.IS_FIT_TO_PAGE_ENABLED,
+ destinationStore, documentInfo);
}
FitToPage.prototype = {
@@ -37,8 +34,8 @@ cr.define('print_preview.ticket_items', function() {
isCapabilityAvailable: function() {
return !this.getDocumentInfoInternal().isModifiable &&
(!this.getSelectedDestInternal() ||
- this.getSelectedDestInternal().id !=
- print_preview.Destination.GooglePromotedId.SAVE_AS_PDF);
+ this.getSelectedDestInternal().id !=
+ print_preview.Destination.GooglePromotedId.SAVE_AS_PDF);
},
/** @override */
@@ -53,12 +50,10 @@ cr.define('print_preview.ticket_items', function() {
getCapabilityNotAvailableValueInternal: function() {
return !this.getSelectedDestInternal() ||
this.getSelectedDestInternal().id !=
- print_preview.Destination.GooglePromotedId.SAVE_AS_PDF;
+ print_preview.Destination.GooglePromotedId.SAVE_AS_PDF;
}
};
// Export
- return {
- FitToPage: FitToPage
- };
+ return {FitToPage: FitToPage};
});

Powered by Google App Engine
This is Rietveld 408576698