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

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

Issue 2256773005: MD Settings: Bluetooth: Use CrScrollableBehavior (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_638377_scrollable_behavior
Patch Set: Improve item focus and fix tests Created 4 years, 4 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/bluetooth_page/bluetooth_device_list_item.html
diff --git a/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_list_item.html b/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_list_item.html
index b5b51298e83b95b3f3d158e039bc724db0b8d460..1f843f23defc05513122de20933a3715656f72e1 100644
--- a/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_list_item.html
+++ b/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_list_item.html
@@ -22,8 +22,7 @@
}
</style>
<template>
- <div class="flex layout horizontal center" dropdown$="[[dropdownOpened]]"
- on-tap="itemTapped_" actionable>
+ <div class="flex layout horizontal center" dropdown$="[[dropdownOpened]]">
<span class="name" connected$="[[device.connected]]">
[[getDeviceName_(device)]]
</span>
@@ -31,11 +30,9 @@
</iron-icon>
<span class="flex"></span>
<span hidden$="[[!device.connecting]]">$i18n{bluetoothConnecting}</span>
- <!-- <div on-tap> is usually [actionable], but this on-tap is just to
- prevent triggering |itemTapped_| in the containing div. -->
- <div hidden$="[[!device.paired]]" on-tap="doNothing_">
+ <div hidden$="[[!device.paired]]">
<paper-icon-button icon="cr:more-vert" toggles
- active="{{dropdownOpened}}">
+ active="{{dropdownOpened}}" tabindex$="[[tabindex]]">
</paper-icon-button>
<iron-dropdown opened="{{dropdownOpened}}" on-tap="menuSelected_"
vertical-align="auto" horizontal-align="right">

Powered by Google App Engine
This is Rietveld 408576698