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

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

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.js
diff --git a/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_list_item.js b/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_list_item.js
index dd2378b8f11ba5e61a462f655a4f05a009925c84..265200451dfd56b5ada37f7d63edaacd2ff60786 100644
--- a/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_list_item.js
+++ b/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_list_item.js
@@ -23,17 +23,6 @@ Polymer({
* @param {Event} e
* @private
*/
- itemTapped_: function(e) {
- this.fire('device-event', {
- action: 'connect',
- device: this.device,
- });
- },
-
- /**
- * @param {Event} e
- * @private
- */
menuSelected_: function(e) {
e.currentTarget.opened = false;
this.fire('device-event', {
@@ -43,15 +32,6 @@ Polymer({
},
/**
- * @param {Event} e
- * @private
- */
- doNothing_: function(e) {
- // Avoid triggering itemTapped_.
- e.stopPropagation();
- },
-
- /**
* @param {!chrome.bluetooth.Device} device
* @return {string} The text to display for |device| in the device list.
* @private

Powered by Google App Engine
This is Rietveld 408576698