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

Issue 2758553002: Keep focused device in Bluetooth device list when the list is refreshed. (Closed)

Created:
3 years, 9 months ago by fukino
Modified:
3 years, 9 months ago
Reviewers:
tdanderson
CC:
chromium-reviews, kalyank, sadrul, oshima+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Keep focused device in Bluetooth device list when the list is refreshed. When the Bluetooth device list is updated, child views on the scroll_content were removed and the focused view was resed. We should remember the focused device before remove the children, and re-focus the device after we create the new list. BUG=673048 TEST=manually tested Review-Url: https://codereview.chromium.org/2758553002 Cr-Commit-Position: refs/heads/master@{#457666} Committed: https://chromium.googlesource.com/chromium/src/+/d10bb36641de2636f34292c0e626a7202ff674bb

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -0 lines) Patch
M ash/common/system/chromeos/bluetooth/tray_bluetooth.cc View 3 chunks +23 lines, -0 lines 2 comments Download

Messages

Total messages: 9 (4 generated)
fukino
Terry, could you take a look? This should fix the issue mentioned in https://bugs.chromium.org/p/chromium/issues/detail?id=673048#c19 "every ...
3 years, 9 months ago (2017-03-16 14:20:15 UTC) #2
tdanderson
Thanks for coming back to this, LGTM. https://codereview.chromium.org/2758553002/diff/1/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc File ash/common/system/chromeos/bluetooth/tray_bluetooth.cc (right): https://codereview.chromium.org/2758553002/diff/1/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc#newcode325 ash/common/system/chromeos/bluetooth/tray_bluetooth.cc:325: FocusDeviceByAddress(focused_device_address); On ...
3 years, 9 months ago (2017-03-16 20:40:14 UTC) #3
fukino
Thank you for the review!
3 years, 9 months ago (2017-03-17 02:22:53 UTC) #4
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/2758553002/1
3 years, 9 months ago (2017-03-17 02:23:38 UTC) #6
commit-bot: I haz the power
3 years, 9 months ago (2017-03-17 02:56:37 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/d10bb36641de2636f34292c0e626...

Powered by Google App Engine
This is Rietveld 408576698