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

Unified Diff: chrome/browser/resources/settings/search_engines_page/search_engines_list.js

Issue 2454483002: Make search engine iron-list aware of the global scrollTarget. (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/search_engines_page/search_engines_list.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/search_engines_page/search_engines_list.js
diff --git a/chrome/browser/resources/settings/search_engines_page/search_engines_list.js b/chrome/browser/resources/settings/search_engines_page/search_engines_list.js
index 2bb7f3bd50c85500d90dea7d8e8ec875c07ebf20..741164fd33cdae172416fb18ec82882588212996 100644
--- a/chrome/browser/resources/settings/search_engines_page/search_engines_list.js
+++ b/chrome/browser/resources/settings/search_engines_page/search_engines_list.js
@@ -9,21 +9,10 @@
Polymer({
is: 'settings-search-engines-list',
- behaviors: [CrScrollableBehavior],
+ behaviors: [settings.GlobalScrollTargetBehavior],
properties: {
/** @type {!Array<!SearchEngine>} */
- engines: {
- type: Array,
- value: function() {
- return [];
- },
- observer: 'enginesChanged_',
- }
- },
-
- /** @private */
- enginesChanged_: function() {
- this.updateScrollableContents();
+ engines: Array,
},
});
« no previous file with comments | « chrome/browser/resources/settings/search_engines_page/search_engines_list.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698