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

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

Issue 2143823002: MD Settings: Bluetooth: Show policy indicator when disabled by policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_602538_bluetooth_fixes_1
Patch Set: Fix tests Created 4 years, 5 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_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 0f217e18b392bdb2250329a55040fb5fc13bb884..85565345cc6c5e55bea30bd3e0d6370cf6fbc622 100644
--- a/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html
+++ b/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html
@@ -6,6 +6,7 @@
<link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-animatable.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-toggle-button/paper-toggle-button.html">
+<link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_pref_indicator.html">
<link rel="import" href="/icons.html">
<link rel="import" href="/settings_page/settings_animated_pages.html">
<link rel="import" href="/settings_shared_css.html">
@@ -55,6 +56,10 @@
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>
</div>
<iron-collapse opened="[[canShowDeviceList_(bluetoothEnabled,

Powered by Google App Engine
This is Rietveld 408576698