Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <link rel="import" href="chrome://resources/html/assert.html"> | 1 <link rel="import" href="chrome://resources/html/assert.html"> |
| 2 <link rel="import" href="chrome://resources/html/cr.html"> | 2 <link rel="import" href="chrome://resources/html/cr.html"> |
| 3 <link rel="import" href="chrome://resources/html/polymer.html"> | 3 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> | |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-toggle-button/pap er-toggle-button.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-toggle-button/pap er-toggle-button.html"> |
| 6 <link rel="import" href="/passwords_and_forms_page/autofill_section.html"> | 7 <link rel="import" href="/passwords_and_forms_page/autofill_section.html"> |
| 7 <link rel="import" href="/passwords_and_forms_page/passwords_section.html"> | 8 <link rel="import" href="/passwords_and_forms_page/passwords_section.html"> |
| 8 <link rel="import" href="/prefs/prefs.html"> | 9 <link rel="import" href="/prefs/prefs.html"> |
| 9 <link rel="import" href="/prefs/prefs_behavior.html"> | 10 <link rel="import" href="/prefs/prefs_behavior.html"> |
| 10 <link rel="import" href="/route.html"> | 11 <link rel="import" href="/route.html"> |
| 11 <link rel="import" href="/settings_page/settings_animated_pages.html"> | 12 <link rel="import" href="/settings_page/settings_animated_pages.html"> |
| 12 <link rel="import" href="/settings_page/settings_subpage.html"> | 13 <link rel="import" href="/settings_page/settings_subpage.html"> |
| 13 <link rel="import" href="/settings_shared_css.html"> | 14 <link rel="import" href="/settings_shared_css.html"> |
| 14 | 15 |
| 15 <dom-module id="settings-passwords-and-forms-page"> | 16 <dom-module id="settings-passwords-and-forms-page"> |
| 16 <template> | 17 <template> |
| 17 <style include="settings-shared"></style> | 18 <style include="settings-shared"></style> |
| 18 <settings-animated-pages id="pages" section="passwordsAndForms"> | 19 <settings-animated-pages id="pages" section="passwordsAndForms"> |
| 19 <neon-animatable route-path="default"> | 20 <neon-animatable route-path="default"> |
| 20 <div class="settings-box first two-line" on-tap="onAutofillTap_" | 21 <div class="settings-box first two-line"> |
| 21 id="autofillManagerButton" | 22 <div class="middle two-line" on-tap="onAutofillTap_" |
| 22 actionable$="[[prefs.autofill.enabled.value]]"> | 23 id="autofillManagerButton" |
| 23 <div class="start"> | 24 actionable$="[[prefs.autofill.enabled.value]]"> |
| 24 <div>$i18n{autofill}</div> | 25 <div class="flex"> |
| 25 <div class="secondary">$i18n{autofillDetail}</div> | 26 <div>$i18n{autofill}</div> |
| 27 <div class="secondary">$i18n{autofillDetail}</div> | |
| 28 </div> | |
| 29 <button class="icon-arrow-right" is="paper-icon-button-light"> | |
| 30 </button> | |
|
dschuyler
2016/09/23 17:29:18
This is another example where the arrow is pointin
| |
| 26 </div> | 31 </div> |
| 27 <paper-toggle-button id="autofillToggle" | 32 <div class="secondary-action"> |
| 28 checked="{{prefs.autofill.enabled.value}}"> | 33 <paper-toggle-button id="autofillToggle" |
| 29 </paper-toggle-button> | 34 checked="{{prefs.autofill.enabled.value}}"> |
| 35 </paper-toggle-button> | |
| 36 </div> | |
| 30 </div> | 37 </div> |
| 31 <div class="settings-box two-line" on-tap="onPasswordsTap_" | 38 <div class="settings-box two-line"> |
| 32 id="passwordManagerButton" | 39 <div class="middle two-line" on-tap="onPasswordsTap_" |
| 33 actionable$="[[prefs.profile.password_manager_enabled.value]]"> | 40 id="passwordManagerButton" |
| 34 <div class="start"> | 41 actionable$="[[prefs.profile.password_manager_enabled.value]]"> |
| 35 <div>$i18n{passwords}</div> | 42 <div class="flex"> |
| 36 <div class="secondary">$i18n{passwordsDetail}</div> | 43 <div>$i18n{passwords}</div> |
| 44 <div class="secondary">$i18n{passwordsDetail}</div> | |
| 45 </div> | |
| 46 <button class="icon-arrow-right" is="paper-icon-button-light"> | |
| 47 </button> | |
| 37 </div> | 48 </div> |
| 38 <paper-toggle-button id="passwordToggle" | 49 <div class="secondary-action"> |
| 39 checked="{{prefs.profile.password_manager_enabled.value}}"> | 50 <paper-toggle-button id="passwordToggle" |
| 40 </paper-toggle-button> | 51 checked="{{prefs.profile.password_manager_enabled.value}}"> |
| 52 </paper-toggle-button> | |
| 53 </div> | |
| 41 </div> | 54 </div> |
| 42 </neon-animatable> | 55 </neon-animatable> |
| 43 <template is="dom-if" route-path="/autofill"> | 56 <template is="dom-if" route-path="/autofill"> |
| 44 <settings-subpage | 57 <settings-subpage |
| 45 associated-control="[[$$('#autofillManagerButton')]]" | 58 associated-control="[[$$('#autofillManagerButton')]]" |
| 46 page-title="$i18n{autofill}"> | 59 page-title="$i18n{autofill}"> |
| 47 <settings-autofill-section id="autofillSection" | 60 <settings-autofill-section id="autofillSection" |
| 48 addresses="[[addresses]]" credit-cards="[[creditCards]]"> | 61 addresses="[[addresses]]" credit-cards="[[creditCards]]"> |
| 49 </settings-autofill-section> | 62 </settings-autofill-section> |
| 50 </settings-subpage> | 63 </settings-subpage> |
| 51 </template> | 64 </template> |
| 52 <template is="dom-if" route-path="/managePasswords"> | 65 <template is="dom-if" route-path="/managePasswords"> |
| 53 <settings-subpage | 66 <settings-subpage |
| 54 associated-control="[[$$('#passwordManagerButton')]]" | 67 associated-control="[[$$('#passwordManagerButton')]]" |
| 55 page-title="$i18n{passwords}" | 68 page-title="$i18n{passwords}" |
| 56 search-label="$i18n{searchPasswords}" | 69 search-label="$i18n{searchPasswords}" |
| 57 search-term="{{passwordFilter_}}"> | 70 search-term="{{passwordFilter_}}"> |
| 58 <passwords-section saved-passwords="[[savedPasswords]]" | 71 <passwords-section saved-passwords="[[savedPasswords]]" |
| 59 id="passwordSection" password-exceptions="[[passwordExceptions]]" | 72 id="passwordSection" password-exceptions="[[passwordExceptions]]" |
| 60 filter="[[passwordFilter_]]" prefs="{{prefs}}"> | 73 filter="[[passwordFilter_]]" prefs="{{prefs}}"> |
| 61 </passwords-section> | 74 </passwords-section> |
| 62 </settings-subpage> | 75 </settings-subpage> |
| 63 </template> | 76 </template> |
| 64 </settings-animated-pages> | 77 </settings-animated-pages> |
| 65 </template> | 78 </template> |
| 66 <script src="passwords_and_forms_page.js"></script> | 79 <script src="passwords_and_forms_page.js"></script> |
| 67 </dom-module> | 80 </dom-module> |
| OLD | NEW |