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

Issue 2612463002: Views: Remove DCHECK failing for ScrollViews, which can't be focused. (Closed)

Created:
3 years, 11 months ago by Patti Lor
Modified:
3 years, 11 months ago
Reviewers:
karandeepb, tapted
CC:
chromium-reviews, tfarina, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Views: Remove DCHECK failing for ScrollViews, which can't be focused. Focus rings can be installed on ScrollViews, but FocusRing::Install() DCHECKs whether the view with a focus ring attached has focus before this happens. This doesn't make sense since ScrollViews can't be focused - the focus ring is installed when whatever is contained inside the ScrollView has focus to prevent the ring from being scrolled. In particular this affects the collected cookies dialog, which hits the DCHECK whenever the TreeView inside the ScrollView receives focus. This change deletes this DCHECK. BUG=676244 Committed: https://crrev.com/3c2faf580ef236142f2c1ed8a6491c3193becbfd Cr-Commit-Position: refs/heads/master@{#441092}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -1 line) Patch
M ui/views/controls/focus_ring.cc View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 14 (9 generated)
Patti Lor
Split off as requested (by Karan) from https://codereview.chromium.org/2604303002/ :) +Trent as a reviewer because of ...
3 years, 11 months ago (2017-01-03 04:14:55 UTC) #6
tapted
lgtm
3 years, 11 months ago (2017-01-03 04:21:12 UTC) #7
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/2612463002/1
3 years, 11 months ago (2017-01-03 05:30:49 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
3 years, 11 months ago (2017-01-03 05:36:58 UTC) #12
commit-bot: I haz the power
3 years, 11 months ago (2017-01-03 05:39:31 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/3c2faf580ef236142f2c1ed8a6491c3193becbfd
Cr-Commit-Position: refs/heads/master@{#441092}

Powered by Google App Engine
This is Rietveld 408576698