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

Unified Diff: chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.html

Issue 2891413002: [CUPS] Remove the left button in 'manufacturer-and-model' dialog. (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.html
diff --git a/chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.html b/chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.html
index 2c2366ed8edadedd9c1ff4fd05bb63bcc6f6da78..125222add8546af855659c6bce10bc88942512a6 100644
--- a/chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.html
+++ b/chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.html
@@ -261,12 +261,6 @@
padding: 10px 20px;
}
- .dialog-buttons {
- display: flex;
- justify-content: space-between;
- width: 100%;
- }
-
#browseButton {
color: black;
font-size: inherit;
@@ -312,25 +306,17 @@
</div>
</div>
<div class="dialog-buttons">
- <div> <!-- Left group -->
- <paper-button id="manuallyAddPrinterButton" class="secondary-button"
- on-tap="switchToPreviousDialog_">
- $i18n{back}
- </paper-button>
- </div>
- <div> <!-- Right group -->
- <paper-button class="cancel-button secondary-button"
- on-tap="onCancelTap_">
- $i18n{cancelButtonText}
- </paper-button>
- <paper-button class="action-button" id="addPrinterButton"
- disabled="[[!canAddPrinter_(newPrinter.printerManufacturer,
- newPrinter.printerModel,
- newPrinter.printerPPDPath)]]"
- on-tap="switchToConfiguringDialog_">
- $i18n{addPrinterButtonText}
- </paper-button>
- </div>
+ <paper-button class="cancel-button secondary-button"
+ on-tap="onCancelTap_">
+ $i18n{cancelButtonText}
+ </paper-button>
+ <paper-button class="action-button" id="addPrinterButton"
+ disabled="[[!canAddPrinter_(newPrinter.printerManufacturer,
+ newPrinter.printerModel,
+ newPrinter.printerPPDPath)]]"
+ on-tap="switchToConfiguringDialog_">
+ $i18n{addPrinterButtonText}
+ </paper-button>
</div>
</add-printer-dialog>
</template>
@@ -387,7 +373,7 @@
<!-- Manufacturer and Model Dialog -->
<template is="dom-if" if="[[showManufacturerDialog_]]" restamp>
<add-printer-manufacturer-model-dialog new-printer="{{newPrinter}}"
- previous-dialog="[[previousDialog]]" setup-failed="[[setupFailed]]">
+ setup-failed="[[setupFailed]]">
</add-printer-manufacturer-model-dialog>
</template>
« no previous file with comments | « no previous file | chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698