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

Issue 1879273002: [merge] DialogClientView: Fix regression in Chrome Task Manager focusing. (Closed)

Created:
4 years, 8 months ago by tapted
Modified:
4 years, 8 months ago
Reviewers:
karandeepb
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@2704
Target Ref:
refs/pending/branch-heads/2704
Project:
chromium
Visibility:
Public.

Description

[merge] DialogClientView: Fix regression in Chrome Task Manager focusing. This CL fixes a regression introduced in https://codereview.chromium.org/1690133003/. The regression is caused since the TaskManagerView, adds child views to the DialogClientView. However, DialogClientView::SetupFocusChain does not account for externally added child views. This CL uses View::ReorderChildView to reorder child views and ensure that appropriate focus order is maintained. Also the redundant contents_ view in DialogClientViewTest is removed. BUG=596045, 586419 TBR=karandeepb@chromium.org Review URL: https://codereview.chromium.org/1826433002 Cr-Commit-Position: refs/heads/master@{#386324} (cherry picked from commit e5b001fd75dc0fc7dbe265020ffbd84be9916d5c) Committed: https://chromium.googlesource.com/chromium/src/+/026a1371d6544af1856aa83e3077139a7c2aae39

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -24 lines) Patch
M ui/views/window/dialog_client_view.cc View 4 chunks +7 lines, -7 lines 0 comments Download
M ui/views/window/dialog_client_view_unittest.cc View 6 chunks +23 lines, -17 lines 0 comments Download

Messages

Total messages: 3 (1 generated)
tapted
4 years, 8 months ago (2016-04-13 00:34:43 UTC) #1
tapted
4 years, 8 months ago (2016-04-13 00:37:54 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
026a1371d6544af1856aa83e3077139a7c2aae39.

Powered by Google App Engine
This is Rietveld 408576698