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

Issue 125062: Fix reversed focus traversal order issue. (Closed)

Created:
11 years, 6 months ago by Yuta Kitamura
Modified:
9 years, 7 months ago
Reviewers:
jcampan
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Fix reversed focus traversal order issue. This change fixes several problems in handling focus traversal and resolves TabbedPane's traversal order issue. Reversed focus traversal is very tricky, and the original traversal code overlooked several things. (1) A focusable view may have a FocusTraverasble. (2) When we are going down, we have to check if the current view has a FocusTraversable. (3) When we are going up from a FocusTraversable, the parent view may gain the next focus. This change fixes these issues. BUG=6871 TEST=See issue 6871. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=18335

Patch Set 1 #

Total comments: 7

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -94 lines) Patch
M views/focus/focus_manager.h View 1 3 chunks +3 lines, -5 lines 0 comments Download
M views/focus/focus_manager.cc View 1 5 chunks +22 lines, -15 lines 0 comments Download
M views/focus/focus_manager_unittest.cc View 1 2 chunks +0 lines, -24 lines 0 comments Download
M views/widget/root_view.h View 1 2 chunks +10 lines, -6 lines 0 comments Download
M views/widget/root_view.cc View 1 8 chunks +74 lines, -40 lines 0 comments Download
M views/widget/widget_win.h View 1 1 chunk +1 line, -1 line 0 comments Download
M views/widget/widget_win.cc View 1 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Yuta Kitamura
Rietveld gives me a "500 Server Error", so let me try to send this again. ...
11 years, 6 months ago (2009-06-12 18:56:05 UTC) #1
jcampan
Thanks for fixing this! Some nits. http://codereview.chromium.org/125062/diff/1/5 File views/widget/root_view.cc (right): http://codereview.chromium.org/125062/diff/1/5#newcode585 Line 585: bool skip_starting_view ...
11 years, 6 months ago (2009-06-12 20:24:52 UTC) #2
Yuta Kitamura
Nits applied. Thank you for your review! I'm happy to fix this. http://codereview.chromium.org/125062/diff/1/5 File views/widget/root_view.cc ...
11 years, 6 months ago (2009-06-12 23:03:53 UTC) #3
jcampan
11 years, 6 months ago (2009-06-12 23:07:30 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698