diff options
author | deymo@chromium.org <deymo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-01 18:41:47 +0000 |
---|---|---|
committer | deymo@chromium.org <deymo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-01 18:41:47 +0000 |
commit | ee5cb154dd0466b54f44e4e3b1409b5e5115b433 (patch) | |
tree | 349b4e85fd2d612d03ed0eb98162d7a14895d90b /content/content_renderer.gypi | |
parent | 8206e947a2dabcfe689b8736bbefabb48e5b4f33 (diff) | |
download | chromium_src-ee5cb154dd0466b54f44e4e3b1409b5e5115b433.zip chromium_src-ee5cb154dd0466b54f44e4e3b1409b5e5115b433.tar.gz chromium_src-ee5cb154dd0466b54f44e4e3b1409b5e5115b433.tar.bz2 |
Bluetooth pairing: Enable the Connect button for unpaired devices
Unpaired devices (those shown in the bluetooth-unpaired-devices-list) should
be able to be paired when they are not being paired or aren't already paired.
This fix changes the enabled property of the "Connect" button in the "Add
bluetooth device" overlay to reflect this. The button is disabled only for
already paired devices or devices in the process of pairing. This fix also
ignores the value of the |connected| property for the selected device,
since it could be connected in the bluetooth layer but not connected to any
application is the device is not paired. The right values to verify are the
|paired| and |connecting| properties.
BUG=236619
TEST=Manual test, see below.
Manual test procedure:
1. Go to the settings page: chrome://settings
2. Scan for new devices, select the "Motorola KZ450" Keyboard.
3. Attempt a connect to it. A passkey number should be shown on the screen.
4. Click on "cancel" on that pairing dialog.
5. Immediately after, try to add a new device.
6. In the "Add a device" dialog, click on the "Motorola KZ450" keyboard.
7. The "Connect" button should be enabled.
Review URL: https://chromiumcodereview.appspot.com/14429006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197673 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/content_renderer.gypi')
0 files changed, 0 insertions, 0 deletions