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

Issue 10962048: Fix toolbar keyboard accessibility if bookmarks bar is shown. (Closed)

Created:
8 years, 3 months ago by dmazzoni
Modified:
8 years, 2 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Fix toolbar keyboard accessibility if bookmarks bar is shown. If the bookmarks bar was shown on startup, toolbar focus searching was broken because the code that tried to override the focus search order of the location bar container got undone when the bookmarks bar became a sibling of the location bar container. To fix this, overriding the focus search order is now done dynamically when the toolbar gets focus. Adds a new test for this case. BUG=151747 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158559

Patch Set 1 #

Patch Set 2 : fix compile errors #

Total comments: 2

Patch Set 3 : Open second window with bookmark bar in same test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -8 lines) Patch
M chrome/browser/ui/views/toolbar_view.cc View 2 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/toolbar_view_browsertest.cc View 1 2 3 chunks +29 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
dmazzoni
8 years, 3 months ago (2012-09-22 15:44:04 UTC) #1
sky
http://codereview.chromium.org/10962048/diff/5002/chrome/browser/ui/views/toolbar_view_browsertest.cc File chrome/browser/ui/views/toolbar_view_browsertest.cc (right): http://codereview.chromium.org/10962048/diff/5002/chrome/browser/ui/views/toolbar_view_browsertest.cc#newcode95 chrome/browser/ui/views/toolbar_view_browsertest.cc:95: IN_PROC_BROWSER_TEST_F(ToolbarViewTest, PRE_ToolbarCycleFocusWithBookmarkBar) { Why does this need to be ...
8 years, 3 months ago (2012-09-24 14:05:31 UTC) #2
dmazzoni
http://codereview.chromium.org/10962048/diff/5002/chrome/browser/ui/views/toolbar_view_browsertest.cc File chrome/browser/ui/views/toolbar_view_browsertest.cc (right): http://codereview.chromium.org/10962048/diff/5002/chrome/browser/ui/views/toolbar_view_browsertest.cc#newcode95 chrome/browser/ui/views/toolbar_view_browsertest.cc:95: IN_PROC_BROWSER_TEST_F(ToolbarViewTest, PRE_ToolbarCycleFocusWithBookmarkBar) { On 2012/09/24 14:05:32, sky wrote: > ...
8 years, 3 months ago (2012-09-24 16:58:23 UTC) #3
sky
On Mon, Sep 24, 2012 at 9:58 AM, <dmazzoni@chromium.org> wrote: > > http://codereview.chromium.org/10962048/diff/5002/chrome/browser/ui/views/toolbar_view_browsertest.cc > File ...
8 years, 3 months ago (2012-09-24 20:52:53 UTC) #4
dmazzoni
On 2012/09/24 20:52:53, sky wrote: > browser_tests are extremely time consuming to wrong. Since your ...
8 years, 3 months ago (2012-09-24 22:29:34 UTC) #5
sky
LGTM
8 years, 3 months ago (2012-09-24 23:07:26 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/10962048/15001
8 years, 3 months ago (2012-09-25 06:09:59 UTC) #7
commit-bot: I haz the power
8 years, 2 months ago (2012-09-25 13:10:21 UTC) #8
Change committed as 158559

Powered by Google App Engine
This is Rietveld 408576698