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

Unified Diff: chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.js

Issue 2448653002: Remove CrScrollableBehavior from Passwords Section. (Closed)
Patch Set: Created 4 years, 2 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 | « chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html ('k') | no next file » | 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_section.js
diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.js b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.js
index d0b453c4a60010fa2e937633aac15af74a3587e9..d88119de4a78227648b9fc9225c590355639e25b 100644
--- a/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.js
+++ b/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.js
@@ -20,7 +20,7 @@ var ExceptionPairEntryEvent;
Polymer({
is: 'passwords-section',
- behaviors: [CrScrollableBehavior, settings.GlobalScrollTargetBehavior],
+ behaviors: [settings.GlobalScrollTargetBehavior],
properties: {
/** Preferences state. */
@@ -72,16 +72,6 @@ Polymer({
},
},
- observers: ['passwordListChanged_(savedPasswords, filter)'],
-
- /**
- * Updates the scrollable contents when the list of passwords has changed.
- * @private
- */
- passwordListChanged_: function() {
- this.updateScrollableContents();
- },
-
/**
* Sets the password in the current password dialog if the loginPair matches.
* @param {!chrome.passwordsPrivate.LoginPair} loginPair
« no previous file with comments | « chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698