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

Unified Diff: chrome/browser/resources/settings/passwords_and_forms_page/passwords_and_forms_page.html

Issue 2111643005: [MD Settings] Make Passwords and Autofill actionable if tap will work. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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
« no previous file with comments | « no previous file | chrome/test/data/webui/settings/passwords_and_forms_browsertest.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/passwords_and_forms_page/passwords_and_forms_page.html
diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_and_forms_page.html b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_and_forms_page.html
index 2e65b253be3506389ff27cdf6299a3235f61c1de..aff854912447e88b1dd17597142c9c4d26a020e9 100644
--- a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_and_forms_page.html
+++ b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_and_forms_page.html
@@ -5,6 +5,7 @@
<link rel="import" href="chrome://resources/polymer/v1_0/paper-toggle-button/paper-toggle-button.html">
<link rel="import" href="/passwords_and_forms_page/autofill_section.html">
<link rel="import" href="/passwords_and_forms_page/passwords_section.html">
+<link rel="import" href="/prefs/prefs.html">
<link rel="import" href="/prefs/prefs_behavior.html">
<link rel="import" href="/settings_page/settings_animated_pages.html">
<link rel="import" href="/settings_page/settings_subpage.html">
@@ -17,7 +18,8 @@
section="passwordsAndForms">
<neon-animatable id="main">
<div class="settings-box first two-line" on-tap="onAutofillTap_"
- actionable>
+ id="autofillManagerButton"
+ actionable$="[[prefs.autofill.enabled.value]]">
<div class="start">
<div>$i18n{autofill}</div>
<div class="secondary">$i18n{autofillDetail}</div>
@@ -26,7 +28,9 @@
checked="{{prefs.autofill.enabled.value}}">
</paper-toggle-button>
</div>
- <div class="settings-box two-line" on-tap="onPasswordsTap_" actionable>
+ <div class="settings-box two-line" on-tap="onPasswordsTap_"
+ id="passwordManagerButton"
+ actionable$="[[prefs.profile.password_manager_enabled.value]]">
<div class="start">
<div>$i18n{passwords}</div>
<div class="secondary">$i18n{passwordsDetail}</div>
« no previous file with comments | « no previous file | chrome/test/data/webui/settings/passwords_and_forms_browsertest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698