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

Unified Diff: chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.html

Issue 2627373002: MD Settings: Save and restore scroll position in iron-list (Closed)
Patch Set: Nits Created 3 years, 11 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 | « no previous file | chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.html
diff --git a/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.html b/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.html
index bb110e8f2719e0e748f39272f1c4bc7dd4c955ad..b8d8010800bc5115d94f8a6487152a7d5c1849ab 100644
--- a/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.html
+++ b/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.html
@@ -84,13 +84,14 @@
<div id="dialogDeviceList"
hidden$="[[!isDialogType_(dialogId, 'addDevice')]]"
class="layout vertical flex start self-stretch">
- <span class="no-devices" hidden$="[[haveUnpaired_(deviceList.*)]]">
+ <span class="no-devices"
+ hidden$="[[haveUnpaired_(unpairedDeviceList_)]]">
$i18n{bluetoothNoDevices}
</span>
<div id="container" class="layout vertical flex self-stretch"
scrollable>
- <iron-list items="[[getUnpaired_(deviceList.*)]]"
- selection-enabled selected-item="{{selectedItem}}"
+ <iron-list id="devices" items="[[unpairedDeviceList_]]"
+ selection-enabled selected-item="{{selectedItem_}}"
scroll-target="container">
<template>
<bluetooth-device-list-item device="[[item]]"
« no previous file with comments | « no previous file | chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698