summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html')
-rw-r--r--chromium/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html87
1 files changed, 0 insertions, 87 deletions
diff --git a/chromium/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html b/chromium/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html
deleted file mode 100644
index 44dac770e3e..00000000000
--- a/chromium/chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html
+++ /dev/null
@@ -1,87 +0,0 @@
-<link rel="import" href="chrome://resources/html/polymer.html">
-
-<link rel="import" href="chrome://resources/cr_elements/cr_icon_button/cr_icon_button.html">
-<link rel="import" href="chrome://resources/cr_elements/cr_toggle/cr_toggle.html">
-<link rel="import" href="chrome://resources/cr_elements/icons.html">
-<link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_pref_indicator.html">
-<link rel="import" href="chrome://resources/html/i18n_behavior.html">
-<link rel="import" href="../chromeos/os_icons.html">
-<link rel="import" href="../i18n_setup.html">
-<link rel="import" href="../prefs/prefs.html">
-<link rel="import" href="../prefs/prefs_behavior.html">
-<link rel="import" href="../settings_page/settings_animated_pages.html">
-<link rel="import" href="../settings_page/settings_subpage.html">
-<link rel="import" href="../settings_shared_css.html">
-<link rel="import" href="bluetooth_subpage.html">
-
-<dom-module id="settings-bluetooth-page">
- <template>
- <style include="settings-shared">
- .link-wrapper {
- align-items: center;
- display: flex;
- flex-grow: 1;
- }
- </style>
- <settings-animated-pages id="pages" section="bluetooth"
- focus-config="[[focusConfig_]]">
- <div route-path="default">
- <template is="dom-if" if="[[!isSecondaryUser_]]">
- <div id="bluetoothDevices" class="settings-box two-line">
- <div class="link-wrapper" actionable on-click="onTap_">
- <iron-icon icon="[[getIcon_(bluetoothToggleState_)]]"></iron-icon>
- <div class="middle settings-box-text">
- $i18n{bluetoothPageTitle}
- <div class="secondary" id="bluetoothSecondary">
- [[getOnOffString_(bluetoothToggleState_,
- '$i18nPolymer{deviceOn}', '$i18nPolymer{deviceOff}')]]
- </div>
- </div>
- <cr-policy-pref-indicator
- icon-aria-label="$i18n{bluetoothPageTitle}"
- pref="[[prefs.cros.device.allow_bluetooth]]"
- hidden="[[prefs.cros.device.allow_bluetooth.value]]">
- </cr-policy-pref-indicator>
- <template is="dom-if" if="[[bluetoothToggleState_]]">
- <cr-icon-button class="subpage-arrow"
- on-click="onSubpageArrowTap_"
- aria-label="$i18n{bluetoothPageTitle}"
- aria-describedby="bluetoothSecondary"></cr-icon-button>
- </template>
- </div>
- <div class="separator"></div>
- <cr-toggle id="enableBluetooth"
- checked="{{bluetoothToggleState_}}"
- disabled$="[[!isToggleEnabled_(
- adapterState_, stateChangeInProgress_)]]"
- aria-label="$i18n{bluetoothToggleA11yLabel}">
- </cr-toggle>
- </div>
- </template>
- <template is="dom-if" if="[[isSecondaryUser_]]">
- <div id="bluetoothDevices" class="settings-box two-line">
- <iron-icon class="policy" icon="cr:group"></iron-icon>
- <div class="middle settings-box-text">
- [[i18n('bluetoothPrimaryUserControlled', primaryUserEmail_)]]
- </div>
- </div>
- </template>
- </div>
-
- <template is="dom-if" route-path="/bluetoothDevices">
- <settings-subpage associated-control="[[$$('#bluetoothDevices')]]"
- page-title="$i18n{bluetoothPageTitle}">
- <settings-bluetooth-subpage
- adapter-state="[[adapterState_]]"
- bluetooth-toggle-state="{{bluetoothToggleState_}}"
- state-change-in-progress="[[stateChangeInProgress_]]"
- bluetooth="[[bluetooth]]"
- bluetooth-private="[[bluetoothPrivate]]">
- </settings-bluetooth-subpage>
- </settings-subpage>
- </template>
-
- </settings-animated-pages>
- </template>
- <script src="bluetooth_page.js"></script>
-</dom-module>