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

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

Issue 2725463002: MD Settings: Update Bluetooth toggle UI to match spec. (Closed)
Patch Set: Elim unused IDS Created 3 years, 10 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_subpage.html
diff --git a/chrome/browser/resources/settings/bluetooth_page/bluetooth_subpage.html b/chrome/browser/resources/settings/bluetooth_page/bluetooth_subpage.html
index 661a789a07ae29e134e9507e9eeb43e71a44d6c0..87192076ded952a748791bb04990cc9d9ddcc05e 100644
--- a/chrome/browser/resources/settings/bluetooth_page/bluetooth_subpage.html
+++ b/chrome/browser/resources/settings/bluetooth_page/bluetooth_subpage.html
@@ -26,10 +26,17 @@
paper-spinner {
@apply(--cr-icon-height-width);
}
+
+ #onoff[on] {
+ color: var(--settings-toggle-color);
+ }
</style>
<div class="settings-box first">
- <div class="start">[[getOffOnString_(bluetoothEnabled)]]</div>
+ <div id="onoff" class="start" on$="[[bluetoothEnabled]]">
+ [[getOnOffString_(bluetoothEnabled,
+ '$i18nPolymer{deviceOn}', '$i18nPolymer{deviceOff}')]]
+ </div>
<paper-toggle-button id="enableBluetooth" checked="{{bluetoothEnabled}}"
aria-label="$i18n{bluetoothToggleA11yLabel}">
</paper-toggle-button>

Powered by Google App Engine
This is Rietveld 408576698