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

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

Issue 2356653002: [MD settings] icons for clickable rows (Closed)
Patch Set: review nits 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/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 45f2b0d9ce7fd763b17dcb1ff7ed8ce60038d6ec..301cf0f28ed2555e8d22bd11cc552bb26b27bc11 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
@@ -2,6 +2,7 @@
<link rel="import" href="chrome://resources/html/cr.html">
<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-animatable.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button-light.html">
<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">
@@ -17,27 +18,39 @@
<style include="settings-shared"></style>
<settings-animated-pages id="pages" section="passwordsAndForms">
<neon-animatable route-path="default">
- <div class="settings-box first two-line" on-tap="onAutofillTap_"
- id="autofillManagerButton"
- actionable$="[[prefs.autofill.enabled.value]]">
- <div class="start">
- <div>$i18n{autofill}</div>
- <div class="secondary">$i18n{autofillDetail}</div>
+ <div class="settings-box first two-line">
+ <div class="start two-line" on-tap="onAutofillTap_"
+ id="autofillManagerButton"
+ actionable$="[[prefs.autofill.enabled.value]]">
+ <div class="flex">
+ <div>$i18n{autofill}</div>
+ <div class="secondary">$i18n{autofillDetail}</div>
+ </div>
+ <button class="icon-arrow-right" is="paper-icon-button-light">
+ </button>
+ </div>
+ <div class="secondary-action">
+ <paper-toggle-button id="autofillToggle"
+ checked="{{prefs.autofill.enabled.value}}">
+ </paper-toggle-button>
</div>
- <paper-toggle-button id="autofillToggle"
- checked="{{prefs.autofill.enabled.value}}">
- </paper-toggle-button>
</div>
- <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>
+ <div class="settings-box two-line">
+ <div class="start two-line" on-tap="onPasswordsTap_"
+ id="passwordManagerButton"
+ actionable$="[[prefs.profile.password_manager_enabled.value]]">
+ <div class="flex">
+ <div>$i18n{passwords}</div>
+ <div class="secondary">$i18n{passwordsDetail}</div>
+ </div>
+ <button class="icon-arrow-right" is="paper-icon-button-light">
+ </button>
+ </div>
+ <div class="secondary-action">
+ <paper-toggle-button id="passwordToggle"
+ checked="{{prefs.profile.password_manager_enabled.value}}">
+ </paper-toggle-button>
</div>
- <paper-toggle-button id="passwordToggle"
- checked="{{prefs.profile.password_manager_enabled.value}}">
- </paper-toggle-button>
</div>
</neon-animatable>
<template is="dom-if" route-path="/autofill">

Powered by Google App Engine
This is Rietveld 408576698