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

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

Issue 2561463005: MD Settings: Bluetooth: Make top level UI consistent (Closed)
Patch Set: Fix closure and implicit event Created 4 years 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_page.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_page.html
diff --git a/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html b/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html
index 5560b673e7d73ec3b6a9d1e0789e8ea5fdbeec8a..48478b52e1db77eedcd82e3ec54cb34eb7355f84 100644
--- a/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html
+++ b/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html
@@ -39,24 +39,26 @@
</style>
<settings-animated-pages id="pages" section="bluetooth">
<neon-animatable route-path="default">
- <div class="settings-box first"
+ <div class="settings-box first" actionable
on-tap="toggleDeviceListExpanded_">
<iron-icon icon="settings:bluetooth"></iron-icon>
<span class="middle">$i18n{bluetoothEnable}</span>
+ <cr-policy-pref-indicator
+ pref="[[prefs.cros.device.allow_bluetooth]]"
+ hidden="[[prefs.cros.device.allow_bluetooth.value]]">
+ </cr-policy-pref-indicator>
<cr-expand-button id="expandListButton"
alt="$i18n{bluetoothExpandA11yLabel}"
hidden$="[[!bluetoothEnabled_]]"
expanded="{{deviceListExpanded_}}">
</cr-expand-button>
- <paper-toggle-button id="enableBluetooth"
- checked="{{bluetoothEnabled_}}"
- disabled="[[!adapterState_.available]]"
- on-change="onBluetoothEnabledChange_">
- </paper-toggle-button>
- <cr-policy-pref-indicator
- pref="[[prefs.cros.device.allow_bluetooth]]"
- hidden="[[prefs.cros.device.allow_bluetooth.value]]">
- </cr-policy-pref-indicator>
+ <div class="secondary-action">
+ <paper-toggle-button id="enableBluetooth"
+ checked="{{bluetoothEnabled_}}"
+ disabled="[[!adapterState_.available]]"
+ on-change="onBluetoothEnabledChange_" on-tap="stopTap_">
+ </paper-toggle-button>
+ </div>
</div>
<iron-collapse opened="[[canShowDeviceList_(bluetoothEnabled_,
deviceListExpanded_)]]">
« no previous file with comments | « no previous file | chrome/browser/resources/settings/bluetooth_page/bluetooth_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698