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

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

Issue 2637053002: MD Settings: Add Bluetooth device type icons in device lists. (Closed)
Patch Set: Fix an annotation. 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_list_item.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_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 ecc6567ac0bc6d85d764c5e2e1fa49e116a46592..8f0adbed9887551b2d88c05ddcc101c72239aa56 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
@@ -9,10 +9,14 @@
<dom-module id="bluetooth-device-list-item">
<style include="settings-shared">
- iron-icon {
+ #check {
-webkit-padding-start: 10px;
}
+ #deviceIcon {
+ -webkit-padding-end: 10px;
+ }
+
span.name {
padding: 10px 0;
}
@@ -23,10 +27,12 @@
</style>
<template>
<div class="flex layout horizontal center" dropdown$="[[dropdownOpened]]">
+ <iron-icon id="deviceIcon" icon="[[getDeviceIcon_(device)]]">
+ </iron-icon>
<span class="name" connected$="[[device.connected]]">
[[getDeviceName_(device)]]
</span>
- <iron-icon icon="cr:check" hidden$="[[!device.connected]]">
+ <iron-icon id="check" icon="cr:check" hidden$="[[!device.connected]]">
</iron-icon>
<span class="flex"></span>
<span hidden$="[[!device.connecting]]">$i18n{bluetoothConnecting}</span>
« no previous file with comments | « no previous file | chrome/browser/resources/settings/bluetooth_page/bluetooth_device_list_item.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698