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

Issue 2155743002: Add throbber and status text to WebBluetooth chooser UI on non-Mac desktops (Closed)

Created:
4 years, 5 months ago by juncai
Modified:
4 years, 5 months ago
CC:
chromium-apps-reviews_chromium.org, chromium-reviews, extensions-reviews_chromium.org, markusheintz_, msramek+watch_chromium.org, raymes+watch_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add throbber and status text to WebBluetooth chooser UI on non-Mac desktops This is part 3 of matching WebBluetooth chooser views to mocks. This CL adds: 1. a throbber that starts when the the chooser scans for Bluetooth devices and stops when the scan completes. 2. status text: "Bluetooth turned off" when the Bluetooth adapter is turned off. "Scanning for devices..." when chooser is scanning for Bluetooth devices. "Re-scan" link and clicks it to re-scan Bluetooth devices. The screenshots were uploaded on the issue page. BUG=583452 Committed: https://crrev.com/9c9d751f358ea3e5e9b2076aecde6842016cbf0f Cr-Commit-Position: refs/heads/master@{#406433}

Patch Set 1 : added throbber and status text to WebBluetooth chooser UI on non-Mac desktops #

Patch Set 2 : removed some unnecessary include files and forward declarations #

Total comments: 12

Patch Set 3 : address comments #

Total comments: 52

Patch Set 4 : address comments #

Patch Set 5 : fixed compile error on Mac #

Total comments: 8

Patch Set 6 : address comments #

Patch Set 7 : removed unnecessary include file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+338 lines, -187 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/chooser_controller/chooser_controller.h View 1 2 3 3 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/chooser_controller/mock_chooser_controller.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chooser_controller/mock_chooser_controller.cc View 1 2 3 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/ui/bluetooth/bluetooth_chooser_controller.h View 1 2 3 2 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc View 1 2 3 4 5 chunks +70 lines, -1 line 0 comments Download
M chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.cc View 1 2 3 1 chunk +6 lines, -2 lines 0 comments Download
M chrome/browser/ui/bluetooth/chrome_extension_bluetooth_chooser.cc View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/chooser_content_view_cocoa.mm View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/chooser_content_view.h View 1 2 3 4 5 1 chunk +41 lines, -17 lines 0 comments Download
M chrome/browser/ui/views/chooser_content_view.cc View 1 2 3 4 chunks +107 lines, -100 lines 0 comments Download
M chrome/browser/ui/views/chooser_content_view_unittest.cc View 1 2 3 4 5 5 chunks +2 lines, -17 lines 0 comments Download
M chrome/browser/ui/views/extensions/chooser_dialog_view.h View 1 2 3 3 chunks +2 lines, -12 lines 0 comments Download
M chrome/browser/ui/views/extensions/chooser_dialog_view.cc View 1 2 3 2 chunks +7 lines, -9 lines 0 comments Download
M chrome/browser/ui/views/extensions/chooser_dialog_view_browsertest.cc View 1 2 3 4 5 6 6 chunks +14 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/website_settings/chooser_bubble_ui_view.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/views/website_settings/chooser_bubble_ui_view.cc View 9 chunks +10 lines, -19 lines 0 comments Download
M chrome/browser/usb/usb_chooser_controller.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/usb/usb_chooser_controller.cc View 1 2 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (28 generated)
juncai
msw@chromium.org, please review changes in: //chrome/browser/ui/cocoa/ //chrome/browser/ui/views/ scheib@chromium.org, please review changes in: //chrome/browser/ui/bluetooth/ reillyg@chromium.org, please ...
4 years, 5 months ago (2016-07-15 19:40:23 UTC) #6
Reilly Grant (use Gerrit)
https://codereview.chromium.org/2155743002/diff/20001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2155743002/diff/20001/chrome/app/generated_resources.grd#newcode14871 chrome/app/generated_resources.grd:14871: + <message name="IDS_BLUETOOTH_DEVICE_CHOOSER_RE_SCAN" desc="Text of the 'Re-scan' link."> This ...
4 years, 5 months ago (2016-07-15 21:55:20 UTC) #10
juncai
https://codereview.chromium.org/2155743002/diff/20001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2155743002/diff/20001/chrome/app/generated_resources.grd#newcode14871 chrome/app/generated_resources.grd:14871: + <message name="IDS_BLUETOOTH_DEVICE_CHOOSER_RE_SCAN" desc="Text of the 'Re-scan' link."> On ...
4 years, 5 months ago (2016-07-18 20:14:16 UTC) #13
Reilly Grant (use Gerrit)
lgtm with nits https://codereview.chromium.org/2155743002/diff/40001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2155743002/diff/40001/chrome/app/generated_resources.grd#newcode14866 chrome/app/generated_resources.grd:14866: + No devices found. Bluetooth turned ...
4 years, 5 months ago (2016-07-18 21:15:03 UTC) #14
msw
https://codereview.chromium.org/2155743002/diff/40001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2155743002/diff/40001/chrome/app/generated_resources.grd#newcode14866 chrome/app/generated_resources.grd:14866: + No devices found. Bluetooth turned off. On 2016/07/18 ...
4 years, 5 months ago (2016-07-18 23:01:31 UTC) #17
juncai
https://codereview.chromium.org/2155743002/diff/40001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2155743002/diff/40001/chrome/app/generated_resources.grd#newcode14866 chrome/app/generated_resources.grd:14866: + No devices found. Bluetooth turned off. On 2016/07/18 ...
4 years, 5 months ago (2016-07-19 20:42:46 UTC) #20
scheib
//chrome/browser/ui/bluetooth/ LGTM https://codereview.chromium.org/2155743002/diff/80001/chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc File chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc (right): https://codereview.chromium.org/2155743002/diff/80001/chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc#newcode111 chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc:111: observer()->OnAdapterEnabledChanged( In a seperate patch, consider naming ...
4 years, 5 months ago (2016-07-19 21:18:13 UTC) #23
msw
lgtm with minor nits. https://codereview.chromium.org/2155743002/diff/40001/chrome/browser/chooser_controller/mock_chooser_controller.cc File chrome/browser/chooser_controller/mock_chooser_controller.cc (right): https://codereview.chromium.org/2155743002/diff/40001/chrome/browser/chooser_controller/mock_chooser_controller.cc#newcode18 chrome/browser/chooser_controller/mock_chooser_controller.cc:18: return l10n_util::GetStringUTF16(IDS_DEVICE_CHOOSER_NO_DEVICES_FOUND_PROMPT); On 2016/07/19 20:42:45, ...
4 years, 5 months ago (2016-07-19 22:08:11 UTC) #26
juncai
https://codereview.chromium.org/2155743002/diff/40001/chrome/browser/chooser_controller/mock_chooser_controller.cc File chrome/browser/chooser_controller/mock_chooser_controller.cc (right): https://codereview.chromium.org/2155743002/diff/40001/chrome/browser/chooser_controller/mock_chooser_controller.cc#newcode18 chrome/browser/chooser_controller/mock_chooser_controller.cc:18: return l10n_util::GetStringUTF16(IDS_DEVICE_CHOOSER_NO_DEVICES_FOUND_PROMPT); On 2016/07/19 22:08:10, msw wrote: > On ...
4 years, 5 months ago (2016-07-19 22:58:24 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2155743002/120001
4 years, 5 months ago (2016-07-20 00:50:38 UTC) #36
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 5 months ago (2016-07-20 00:56:40 UTC) #38
commit-bot: I haz the power
4 years, 5 months ago (2016-07-20 00:59:28 UTC) #40
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/9c9d751f358ea3e5e9b2076aecde6842016cbf0f
Cr-Commit-Position: refs/heads/master@{#406433}

Powered by Google App Engine
This is Rietveld 408576698