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

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: Fix the failed closure_compilation trybot. 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..edba3e811cc6b9b45b504fb73914509e71a63d91 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,33 @@
color: var(--google-grey-700);
}
+ .last {
+ margin-top: 20px;
+ }
+
+ 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: 340px;
+ }
+
#manuallyAddPrinterButton {
-webkit-margin-end: 210px;
}
+
+ #browseButton {
+ color: black;
+ font-size: inherit;
+ }
</style>
<add-printer-dialog>
<div class="dialog-body">
@@ -235,6 +259,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"
« no previous file with comments | « chrome/app/settings_strings.grdp ('k') | 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