When Bluetooth is turned off, "Turn on Bluetooth to allow pairing" is shown in the chooser as a link text. It would be better to make "to allow pairing" not be a link.
Here are some screenshots.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/aa577cb63de06844e1ea65db7aa4f228a050a423 commit aa577cb63de06844e1ea65db7aa4f228a050a423 Author: juncai <juncai@chromium.org> Date: Mon Oct 24 19:27:33 2016 Make "to allow pairing" not be a link in the WebBluetooth chooser When the Bluetooth adapter is off, the chooser will show: "Turn on Bluetooth to allow pairing", the whole text is a link. This CL modifies code to make only "Turn on Bluetooth" a link. And the "to allow pairing" text is not a link. I uploaded some screenshots in the issue page. BUG= 658094 Review-Url: https://codereview.chromium.org/2439453006 Cr-Commit-Position: refs/heads/master@{#427116} [modify] https://crrev.com/aa577cb63de06844e1ea65db7aa4f228a050a423/chrome/app/generated_resources.grd [modify] https://crrev.com/aa577cb63de06844e1ea65db7aa4f228a050a423/chrome/browser/ui/cocoa/chooser_content_view_cocoa.h [modify] https://crrev.com/aa577cb63de06844e1ea65db7aa4f228a050a423/chrome/browser/ui/cocoa/chooser_content_view_cocoa.mm [modify] https://crrev.com/aa577cb63de06844e1ea65db7aa4f228a050a423/chrome/browser/ui/cocoa/extensions/chooser_dialog_cocoa_controller_unittest.mm [modify] https://crrev.com/aa577cb63de06844e1ea65db7aa4f228a050a423/chrome/browser/ui/views/chooser_content_view.cc [modify] https://crrev.com/aa577cb63de06844e1ea65db7aa4f228a050a423/chrome/browser/ui/views/chooser_content_view.h [modify] https://crrev.com/aa577cb63de06844e1ea65db7aa4f228a050a423/chrome/browser/ui/views/chooser_content_view_unittest.cc
Comment 1 by juncai@chromium.org
, Oct 21 2016