| Index: chrome/browser/resources/settings/printing_page/cups_printer_details_page.js
|
| diff --git a/chrome/browser/resources/settings/printing_page/cups_printer_details_page.js b/chrome/browser/resources/settings/printing_page/cups_printer_details_page.js
|
| index 61cefab6863ceb6eb2a19fe4b55f0354063ba299..931c553fbd4816176a1a5a19ad99b52e41fff33b 100644
|
| --- a/chrome/browser/resources/settings/printing_page/cups_printer_details_page.js
|
| +++ b/chrome/browser/resources/settings/printing_page/cups_printer_details_page.js
|
| @@ -15,6 +15,11 @@ Polymer({
|
| type: Object,
|
| notify: true,
|
| },
|
| +
|
| + advancedExpanded: {
|
| + type: Boolean,
|
| + value: false,
|
| + },
|
| },
|
|
|
| /** @private {settings.CupsPrintersBrowserProxy} */
|
| @@ -33,4 +38,14 @@ Polymer({
|
| this.browserProxy_.updateCupsPrinter(this.printer.printerId,
|
| this.printer.printerName);
|
| },
|
| +
|
| + /**
|
| + * @param {Event} event
|
| + * @private
|
| + */
|
| + toggleAdvancedExpanded_: function(event) {
|
| + if (event.target.id == 'expandButton')
|
| + return; // Already handled.
|
| + this.advancedExpanded = !this.advancedExpanded;
|
| + },
|
| });
|
|
|