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

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

Issue 2338133011: MD Settings: Use scrollable behavior for all iron-list containers (Closed)
Patch Set: Rebase 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/search_engines_page/search_engines_list.html
diff --git a/chrome/browser/resources/settings/search_engines_page/search_engines_list.html b/chrome/browser/resources/settings/search_engines_page/search_engines_list.html
index 20a9316762f18aa0709e3cf36f59b9a5930f6fbd..a1c3ea5462a06311c415931b860cc671b792a8eb 100644
--- a/chrome/browser/resources/settings/search_engines_page/search_engines_list.html
+++ b/chrome/browser/resources/settings/search_engines_page/search_engines_list.html
@@ -1,6 +1,7 @@
+<link rel="import" href="chrome://resources/cr_elements/cr_scrollable_behavior.html">
+<link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.html">
-<link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
<link rel="import" href="/search_engines_page/search_engine_entry.html">
<dom-module id="settings-search-engines-list">
@@ -34,13 +35,15 @@
</style>
<div id="outer">
<content></content>
- <iron-list items="[[engines]]" selectable>
- <template>
- <settings-search-engine-entry engine="[[item]]"
- tabindex$="[[tabIndex]]">
- </settings-search-engine-entry>
- </template>
- </iron-list>
+ <div id="container" class="scroll-container" scrollable>
+ <iron-list items="[[engines]]" scroll-target="container">
+ <template>
+ <settings-search-engine-entry engine="[[item]]"
+ tabindex$="[[tabIndex]]">
+ </settings-search-engine-entry>
+ </template>
+ </iron-list>
+ </div>
</div>
</template>
<script src="search_engines_list.js"></script>

Powered by Google App Engine
This is Rietveld 408576698