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

Issue 2468403002: Make WebBluetooth chooser consistent on Android and desktops (desktop part) (Closed)

Created:
4 years, 1 month ago by juncai
Modified:
4 years, 1 month ago
Reviewers:
Robert Sesek, sky
CC:
chromium-reviews, extensions-reviews_chromium.org, msramek+watch_chromium.org, tfarina, raymes+watch_chromium.org, mac-reviews_chromium.org, chromium-apps-reviews_chromium.org, markusheintz_
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make WebBluetooth chooser consistent on Android and desktops (desktop part) This CL makes the following changes: 1. Remove "Not seeing your device?" string. 2. Remove the period at "No Bluetooth devices found.", "No devices found." 3. Show get help link and scanning status text below the chooser: (a) When the Bluetooth is turned off, show "Get help" link text. (b) When scanning, show "Get help while scanning for devices...", the "Get help" is link text, "while scanning for devices..." is plain text. (c) When scanning and found some device, or scanning is complete, show "Get help or re-scan", both "Get help" and "re-scan" are link text. I uploaded some screenshots from ChromeOS and Mac on the issue page. BUG=659271 Committed: https://crrev.com/2e52a5a282f509f48e397626f5fcd30f5ab8b1fe Cr-Commit-Position: refs/heads/master@{#429914}

Patch Set 1 : make WebBluetooth chooser consistent on Android and desktops #

Total comments: 6

Patch Set 2 : address comments #

Total comments: 2

Patch Set 3 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+281 lines, -365 lines) Patch
M chrome/app/generated_resources.grd View 3 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/ui/cocoa/chooser_content_view_cocoa.h View 4 chunks +12 lines, -55 lines 0 comments Download
M chrome/browser/ui/cocoa/chooser_content_view_cocoa.mm View 1 15 chunks +119 lines, -175 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/chooser_dialog_cocoa_controller_unittest.mm View 10 chunks +26 lines, -14 lines 0 comments Download
M chrome/browser/ui/views/chooser_content_view.h View 1 4 chunks +19 lines, -15 lines 0 comments Download
M chrome/browser/ui/views/chooser_content_view.cc View 1 2 7 chunks +60 lines, -43 lines 0 comments Download
M chrome/browser/ui/views/chooser_content_view_unittest.cc View 1 11 chunks +25 lines, -41 lines 0 comments Download
M chrome/browser/ui/views/extensions/chooser_dialog_view.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/views/extensions/chooser_dialog_view.cc View 1 2 chunks +1 line, -5 lines 0 comments Download
M chrome/browser/ui/views/extensions/chooser_dialog_view_unittest.cc View 1 4 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/website_settings/chooser_bubble_ui_view.cc View 3 chunks +1 line, -6 lines 0 comments Download
M ui/views/controls/styled_label.h View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (18 generated)
juncai
rsesek@chromium.org: Please review changes in //chrome/browser/ui/cocoa sky@chromium.org: Please review changes in //chrome/browser/ui/views //ui/views/controls/styled_label.h
4 years, 1 month ago (2016-11-03 03:01:57 UTC) #4
juncai
rsesek@chromium.org: Please review changes in //chrome/browser/ui/cocoa sky@chromium.org: Please review changes in //chrome/browser/ui/views //ui/views/controls/styled_label.h
4 years, 1 month ago (2016-11-03 03:02:21 UTC) #5
sky
https://codereview.chromium.org/2468403002/diff/1/chrome/browser/ui/views/chooser_content_view.cc File chrome/browser/ui/views/chooser_content_view.cc (right): https://codereview.chromium.org/2468403002/diff/1/chrome/browser/ui/views/chooser_content_view.cc#newcode211 chrome/browser/ui/views/chooser_content_view.cc:211: footnote_link_->Layout(); This only works if the sized needed for ...
4 years, 1 month ago (2016-11-03 13:24:23 UTC) #9
Robert Sesek
Based on the screenshots in the bug, I think there's a little too much space ...
4 years, 1 month ago (2016-11-03 15:22:30 UTC) #10
juncai
https://codereview.chromium.org/2468403002/diff/1/chrome/browser/ui/views/chooser_content_view.cc File chrome/browser/ui/views/chooser_content_view.cc (right): https://codereview.chromium.org/2468403002/diff/1/chrome/browser/ui/views/chooser_content_view.cc#newcode211 chrome/browser/ui/views/chooser_content_view.cc:211: footnote_link_->Layout(); On 2016/11/03 13:24:23, sky wrote: > This only ...
4 years, 1 month ago (2016-11-03 20:26:24 UTC) #13
juncai
On 2016/11/03 15:22:30, Robert Sesek wrote: > Based on the screenshots in the bug, I ...
4 years, 1 month ago (2016-11-03 20:26:58 UTC) #14
sky
LGTM https://codereview.chromium.org/2468403002/diff/20001/chrome/browser/ui/views/chooser_content_view.cc File chrome/browser/ui/views/chooser_content_view.cc (right): https://codereview.chromium.org/2468403002/diff/20001/chrome/browser/ui/views/chooser_content_view.cc#newcode213 chrome/browser/ui/views/chooser_content_view.cc:213: footnote_link_->GetWidget()->GetRootView()->Layout(); You really don't need footnote_link_ here (and ...
4 years, 1 month ago (2016-11-03 22:33:52 UTC) #17
juncai
https://codereview.chromium.org/2468403002/diff/20001/chrome/browser/ui/views/chooser_content_view.cc File chrome/browser/ui/views/chooser_content_view.cc (right): https://codereview.chromium.org/2468403002/diff/20001/chrome/browser/ui/views/chooser_content_view.cc#newcode213 chrome/browser/ui/views/chooser_content_view.cc:213: footnote_link_->GetWidget()->GetRootView()->Layout(); On 2016/11/03 22:33:52, sky wrote: > You really ...
4 years, 1 month ago (2016-11-04 02:27:47 UTC) #20
Robert Sesek
LGTM
4 years, 1 month ago (2016-11-04 16:32:58 UTC) #23
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/2468403002/40001
4 years, 1 month ago (2016-11-04 16:37:36 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-04 16:44:36 UTC) #28
commit-bot: I haz the power
4 years, 1 month ago (2016-11-04 17:15:58 UTC) #30
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2e52a5a282f509f48e397626f5fcd30f5ab8b1fe
Cr-Commit-Position: refs/heads/master@{#429914}

Powered by Google App Engine
This is Rietveld 408576698