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

Unified Diff: chrome/browser/resources/options/chromeos/system_options.html

Issue 8539022: Bluetooth UI update. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with trunk. Created 9 years, 1 month 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/options/chromeos/system_options.html
diff --git a/chrome/browser/resources/options/chromeos/system_options.html b/chrome/browser/resources/options/chromeos/system_options.html
index 39fa45496f2c661efe24ee2ff5cfc40af1ac453d..bab4667080ca4cbe71b930a2e0316d59f545d26f 100644
--- a/chrome/browser/resources/options/chromeos/system_options.html
+++ b/chrome/browser/resources/options/chromeos/system_options.html
@@ -61,25 +61,37 @@
<section id="bluetooth-devices" hidden>
<h3 i18n-content="bluetooth"></h3>
<div id="bluetooth-options-div">
- <div id="enable-bluetooth" class="checkbox">
- <label>
- <input id="enable-bluetooth-check" type="checkbox"
- checked="checked" pref="settings.enable_bluetooth">
- <span i18n-content="enableBluetooth"></span>
- </label>
+ <div id="bluetooth-buttons">
+ <button id="enable-bluetooth" i18n-content="enableBluetooth" hidden>
+ <button id="disable-bluetooth" i18n-content="disableBluetooth">
+ </div>
+ <div id="no-bluetooth-devices-label"
+ i18n-content="noBluetoothDevicesFound">
</div>
<div id="bluetooth-device-list">
<!-- A list of connected devices is inserted here on page load. -->
<!-- The list of devices is updated asynchronously on clicking
- 'Find Devices' -->
+ 'Find Devices'. -->
+ </div>
+ <!-- Template for items in list of Bluetooth devices -->
+ <div id="bluetooth-item-template" class="bluetooth-item" hidden>
+ <div class="bluetooth-item-text">
+ <div class="network-name-label"></div>
+ <div class="bluetooth-status">
+ <span class="network-status-label"></span>
+ <div class="inline-spinner" hidden></div>
+ </div>
+ <div class="bluetooth-instructions"></div>
+ </div>
+ <div class="bluetooth-button-group"></div>
</div>
<div id = "bluetooth-finder-container">
<button id="bluetooth-find-devices"
i18n-content="findBluetoothDevices"></button>
+ <div id="bluetooth-scanning-icon"
+ class="inline-spinner transparent"></div>
<span id="bluetooth-scanning-label" class="transparent"
i18n-content="bluetoothScanning"></span>
- <div id="bluetooth-scanning-icon"
- class="throbber transparent"></div>
</div>
</div>
</section>

Powered by Google App Engine
This is Rietveld 408576698