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

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

Issue 2452833002: [CUPS] MD Settings: Migrate from paper-dropdown-menu-light to native select (Closed)
Patch Set: Created 4 years, 2 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.js
diff --git a/chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js b/chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js
index 43c2dee03bc70a9f72bec12ab5d099149503a5ff..e37061d5f96ca85d929108d2a11e2a61f8bc8107 100644
--- a/chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js
+++ b/chrome/browser/resources/settings/printing_page/cups_add_printer_dialog.js
@@ -165,6 +165,14 @@ Polymer({
// corresponding message after the API is ready.
// The format of address is: ip-address-or-hostname:port-number.
},
+
+ /**
+ * @param {!Event} event
+ * @private
+ */
+ onProtocolChange_: function(event) {
+ this.newPrinter.printerProtocol = event.target.value;
+ },
});
Polymer({

Powered by Google App Engine
This is Rietveld 408576698