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

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

Issue 2332483002: [CUPS] Implement the CUPS printer PPD file picker in the manufacturer and model dialog. (Closed)
Patch Set: Created 4 years, 3 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/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 c7a3b822405c7e690ff816b9ad6bd316bc0487b6..fd3dabb3b3be216328ddf29e323575841eef27c7 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
@@ -206,9 +206,32 @@
color: var(--google-grey-700);
}
+ .last {
+ margin-top: 40px;
+ }
+
+ paper-input {
+ --paper-input-container-color: var(--google-grey-500);
+ --paper-input-container-input: {
+ font-size: inherit;
+ border: 1px solid lightgray;
+ };
+ --paper-input-container-underline: {
+ display: none;
+ };
+ --paper-input-container-underline-focus: {
+ display: none;
+ };
+ width: 400px;
+ }
+
#manuallyAddPrinterButton {
-webkit-margin-end: 210px;
}
+
+ #browseButton {
+ font-size: inherit;
+ }
</style>
<add-printer-dialog>
<div class="dialog-body">
@@ -235,6 +258,18 @@
</div>
</div>
</div>
+ <div class="settings-box two-line last">
+ <div class="start">
+ <div class="label">$i18n{selectDriver}</div>
+ <div class="secondary">
+ <paper-input no-label-float readonly>
+ <paper-button suffix id="browseButton" on-tap="onBrowseFile_">
+ $i18n{selectDriverButtonText}
+ </paper-button>
+ </paper-input>
+ </div>
+ </div>
+ </div>
</div>
<div class="dialog-buttons">
<paper-button id="manuallyAddPrinterButton"

Powered by Google App Engine
This is Rietveld 408576698