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

Issue 8137003: Add display of available bluetooth devices, and mechanism for retrieving the list. (Closed)

Created:
9 years, 2 months ago by kevers
Modified:
9 years, 2 months ago
CC:
chromium-reviews, arv (Not doing code reviews), Vince Laviano
Visibility:
Public.

Description

Add display of available bluetooth devices, and mechanism for retrieving the list. BUG=Partial fix for chromium-os:20991. TEST=Launch chromeOS with the command-line argument --enable-bluetooth, and switch to the System setttings page. Press the 'Find devices' button. A list of bluetooth devices appears. Currently, the list of devices is faked. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=104915

Patch Set 1 #

Patch Set 2 : Add missing localization resource. #

Patch Set 3 : Remove extra blank lines. #

Patch Set 4 : BlueTooth -> Bluetooth. #

Total comments: 39

Patch Set 5 : Fix formatting glitches. Restructure callback for adding a bluetooth device to the UI. #

Patch Set 6 : Remove trailing blank lines #

Patch Set 7 : Add opacity transition animation for the Bluetooth scanning indicator. #

Total comments: 14

Patch Set 8 : Remove use of 'hidden' attribute to toglle visibility of scanning indicator. #

Total comments: 4

Patch Set 9 : Fix formatting nits. #

Patch Set 10 : Remove addition of animated spinner in favour of reusing an existing throbber class. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+363 lines, -6 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 1 chunk +9 lines, -0 lines 0 comments Download
A chrome/browser/resources/options/chromeos/bluetooth_list_element.js View 1 2 3 4 5 6 7 8 1 chunk +160 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/chromeos/system_options.html View 1 2 3 4 5 6 7 8 9 1 chunk +9 lines, -2 lines 0 comments Download
M chrome/browser/resources/options/chromeos/system_options.js View 1 2 3 4 5 6 7 3 chunks +69 lines, -2 lines 0 comments Download
M chrome/browser/resources/options/chromeos/system_options_page.css View 1 2 3 4 5 6 7 8 9 1 chunk +41 lines, -1 line 0 comments Download
M chrome/browser/resources/options/options_bundle.js View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/system_options_handler.h View 1 2 3 4 5 6 7 1 chunk +20 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/system_options_handler.cc View 1 2 3 4 5 6 7 4 chunks +54 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
kevers
Hi James, Can you please review this CL. The purpose of the change is to ...
9 years, 2 months ago (2011-10-04 16:51:51 UTC) #1
James Hawkins
http://codereview.chromium.org/8137003/diff/6003/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/8137003/diff/6003/chrome/app/generated_resources.grd#newcode11181 chrome/app/generated_resources.grd:11181: Scanning... This should likely not have ellipses after it. ...
9 years, 2 months ago (2011-10-04 20:43:37 UTC) #2
Vince Laviano
http://codereview.chromium.org/8137003/diff/6003/chrome/browser/ui/webui/options/chromeos/system_options_handler.cc File chrome/browser/ui/webui/options/chromeos/system_options_handler.cc (right): http://codereview.chromium.org/8137003/diff/6003/chrome/browser/ui/webui/options/chromeos/system_options_handler.cc#newcode178 chrome/browser/ui/webui/options/chromeos/system_options_handler.cc:178: "bluetoothDeviceNotPaired"); There's a distinction between paired and connected. "Paired" ...
9 years, 2 months ago (2011-10-04 22:03:13 UTC) #3
kevers
http://codereview.chromium.org/8137003/diff/6003/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/8137003/diff/6003/chrome/app/generated_resources.grd#newcode11181 chrome/app/generated_resources.grd:11181: Scanning... On 2011/10/04 20:43:39, James Hawkins wrote: > This ...
9 years, 2 months ago (2011-10-05 14:23:01 UTC) #4
kevers
http://codereview.chromium.org/8137003/diff/6003/chrome/browser/resources/options/chromeos/system_options.js File chrome/browser/resources/options/chromeos/system_options.js (right): http://codereview.chromium.org/8137003/diff/6003/chrome/browser/resources/options/chromeos/system_options.js#newcode108 chrome/browser/resources/options/chromeos/system_options.js:108: $('bluetooth-scanning-icon').hidden = true; On 2011/10/04 20:43:39, James Hawkins wrote: ...
9 years, 2 months ago (2011-10-05 20:32:39 UTC) #5
James Hawkins
http://codereview.chromium.org/8137003/diff/6003/chrome/browser/resources/options/chromeos/system_options.js File chrome/browser/resources/options/chromeos/system_options.js (right): http://codereview.chromium.org/8137003/diff/6003/chrome/browser/resources/options/chromeos/system_options.js#newcode108 chrome/browser/resources/options/chromeos/system_options.js:108: $('bluetooth-scanning-icon').hidden = true; On 2011/10/05 14:23:01, kevers wrote: > ...
9 years, 2 months ago (2011-10-05 20:35:28 UTC) #6
kevers
http://codereview.chromium.org/8137003/diff/6003/chrome/browser/resources/options/chromeos/system_options.js File chrome/browser/resources/options/chromeos/system_options.js (right): http://codereview.chromium.org/8137003/diff/6003/chrome/browser/resources/options/chromeos/system_options.js#newcode108 chrome/browser/resources/options/chromeos/system_options.js:108: $('bluetooth-scanning-icon').hidden = true; On 2011/10/05 20:35:28, James Hawkins wrote: ...
9 years, 2 months ago (2011-10-06 14:51:25 UTC) #7
James Hawkins
http://codereview.chromium.org/8137003/diff/13001/chrome/browser/resources/options/chromeos/bluetooth_list_element.js File chrome/browser/resources/options/chromeos/bluetooth_list_element.js (right): http://codereview.chromium.org/8137003/diff/13001/chrome/browser/resources/options/chromeos/bluetooth_list_element.js#newcode52 chrome/browser/resources/options/chromeos/bluetooth_list_element.js:52: * devices that are currently connected. New devices are ...
9 years, 2 months ago (2011-10-06 17:20:45 UTC) #8
kevers
http://codereview.chromium.org/8137003/diff/13001/chrome/browser/resources/options/chromeos/bluetooth_list_element.js File chrome/browser/resources/options/chromeos/bluetooth_list_element.js (right): http://codereview.chromium.org/8137003/diff/13001/chrome/browser/resources/options/chromeos/bluetooth_list_element.js#newcode52 chrome/browser/resources/options/chromeos/bluetooth_list_element.js:52: * devices that are currently connected. New devices are ...
9 years, 2 months ago (2011-10-06 20:24:41 UTC) #9
James Hawkins
LGTM with nits. http://codereview.chromium.org/8137003/diff/16007/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/8137003/diff/16007/chrome/app/generated_resources.grd#newcode11256 chrome/app/generated_resources.grd:11256: <message name="IDS_OPTIONS_SETTINGS_BLUETOOTH_CONNECTED"> Indentation off by one ...
9 years, 2 months ago (2011-10-06 20:50:16 UTC) #10
kevers
Hi Rick As per your suggestion, I have removed the addition of an animated spinner ...
9 years, 2 months ago (2011-10-07 20:37:32 UTC) #11
Rick Byers
On 2011/10/07 20:37:32, kevers wrote: > Hi Rick > > As per your suggestion, I ...
9 years, 2 months ago (2011-10-07 20:54:21 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kevers@chromium.org/8137003/24001
9 years, 2 months ago (2011-10-11 15:30:23 UTC) #13
commit-bot: I haz the power
9 years, 2 months ago (2011-10-11 18:12:25 UTC) #14
Change committed as 104915

Powered by Google App Engine
This is Rietveld 408576698