| Index: chrome/browser/resources/settings/passwords_and_forms_page/passwords_and_forms_page.js
|
| diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_and_forms_page.js b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_and_forms_page.js
|
| index b5cfb554c728540d62ab4dbf1de87741856dfdb8..b5d69c41aa43eb6fcf01f1597bfced7578035139 100644
|
| --- a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_and_forms_page.js
|
| +++ b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_and_forms_page.js
|
| @@ -46,5 +46,18 @@ Polymer({
|
| settings.navigateTo(settings.Route.MANAGE_PASSWORDS);
|
| }
|
| },
|
| +
|
| + /**
|
| + * Return "secondary-action" to be used as the dom-class name if the toggle
|
| + * is on.
|
| + * @private
|
| + * @param {boolean} isToggleOn whether or not the associated toggle is on.
|
| + */
|
| + secondaryActionClass_: function(isToggleOn) {
|
| + // TODO(scottchen): Having to do this is kind of annoying, but it'll be a
|
| + // temporary patch. As we have plans to move the toggle completely into the
|
| + // subpages themselves, this code *should* be eliminated soon.
|
| + return isToggleOn ? 'secondary-action' : '';
|
| + },
|
| });
|
| })();
|
|
|