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

Side by Side Diff: chrome/browser/resources/settings/bluetooth_page/bluetooth_page.html

Issue 2725463002: MD Settings: Update Bluetooth toggle UI to match spec. (Closed)
Patch Set: Elim unused IDS Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_pref_in dicator.html"> 1 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_pref_in dicator.html">
2 <link rel="import" href="chrome://resources/html/i18n_behavior.html">
3 <link rel="import" href="chrome://resources/html/polymer.html"> 2 <link rel="import" href="chrome://resources/html/polymer.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-toggle-button/pap er-toggle-button.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-toggle-button/pap er-toggle-button.html">
8 <link rel="import" href="../i18n_setup.html"> 7 <link rel="import" href="../i18n_setup.html">
9 <link rel="import" href="../icons.html"> 8 <link rel="import" href="../icons.html">
10 <link rel="import" href="../prefs/prefs.html"> 9 <link rel="import" href="../prefs/prefs.html">
11 <link rel="import" href="../settings_page/settings_animated_pages.html"> 10 <link rel="import" href="../settings_page/settings_animated_pages.html">
12 <link rel="import" href="../settings_page/settings_subpage.html"> 11 <link rel="import" href="../settings_page/settings_subpage.html">
13 <link rel="import" href="../settings_shared_css.html"> 12 <link rel="import" href="../settings_shared_css.html">
14 <link rel="import" href="bluetooth_subpage.html"> 13 <link rel="import" href="bluetooth_subpage.html">
15 14
16 <dom-module id="settings-bluetooth-page"> 15 <dom-module id="settings-bluetooth-page">
17 <template> 16 <template>
18 <style include="settings-shared"> 17 <style include="settings-shared">
19 </style> 18 </style>
20 <settings-animated-pages id="pages" section="bluetooth"> 19 <settings-animated-pages id="pages" section="bluetooth">
21 <neon-animatable route-path="default"> 20 <neon-animatable route-path="default">
22 <div class="settings-box two-line" actionable on-tap="onTap_"> 21 <div class="settings-box two-line" actionable on-tap="onTap_">
23 <iron-icon icon="[[getIcon_(bluetoothEnabled_)]]"></iron-icon> 22 <iron-icon icon="[[getIcon_(bluetoothEnabled_)]]"></iron-icon>
24 <div class="middle"> 23 <div class="middle">
25 $i18n{bluetoothPageTitle} 24 $i18n{bluetoothPageTitle}
26 <div class="secondary" id="bluetoothSecondary"> 25 <div class="secondary" id="bluetoothSecondary">
27 [[getDescription_(bluetoothEnabled_)]] 26 [[getOnOffString_(bluetoothEnabled_,
27 '$i18nPolymer{deviceOn}', '$i18nPolymer{deviceOff}')]]
28 </div> 28 </div>
29 </div> 29 </div>
30 <cr-policy-pref-indicator 30 <cr-policy-pref-indicator
31 pref="[[prefs.cros.device.allow_bluetooth]]" 31 pref="[[prefs.cros.device.allow_bluetooth]]"
32 hidden="[[prefs.cros.device.allow_bluetooth.value]]"> 32 hidden="[[prefs.cros.device.allow_bluetooth.value]]">
33 </cr-policy-pref-indicator> 33 </cr-policy-pref-indicator>
34 <button class="subpage-arrow" is="paper-icon-button-light" 34 <button class="subpage-arrow" is="paper-icon-button-light"
35 on-tap="onSubpageArrowTap_" aria-label="$i18n{bluetoothPageTitle}" 35 on-tap="onSubpageArrowTap_" aria-label="$i18n{bluetoothPageTitle}"
36 aria-describedby="bluetoothSecondary"> 36 aria-describedby="bluetoothSecondary">
37 </button> 37 </button>
(...skipping 16 matching lines...) Expand all
54 bluetooth="[[bluetooth]]" 54 bluetooth="[[bluetooth]]"
55 bluetooth-private="[[bluetoothPrivate]]"> 55 bluetooth-private="[[bluetoothPrivate]]">
56 </settings-bluetooth-subpage> 56 </settings-bluetooth-subpage>
57 </settings-subpage> 57 </settings-subpage>
58 </template> 58 </template>
59 59
60 </settings-animated-pages> 60 </settings-animated-pages>
61 </template> 61 </template>
62 <script src="bluetooth_page.js"></script> 62 <script src="bluetooth_page.js"></script>
63 </dom-module> 63 </dom-module>
OLDNEW
« no previous file with comments | « chrome/app/settings_strings.grdp ('k') | chrome/browser/resources/settings/bluetooth_page/bluetooth_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698