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

Issue 8931022: NativeWidgetAura::ClearNativeFocus fix (Closed)

Created:
9 years ago by oshima
Modified:
9 years ago
CC:
chromium-reviews, tfarina, ben+watch_chromium.org
Visibility:
Public.

Description

Set aura window focus in NativeWidgetAura::ClearNativeFocus only if the focus is owned by child window. This was causing a focus to be stolen when non active window calls ClearNativeFocus. BUG=114477 TEST=OmniboxViewTest.PopupAccelerators passes with this change Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114561

Patch Set 1 #

Patch Set 2 : " #

Patch Set 3 : reenable PopupAccelerators test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M chrome/browser/ui/omnibox/omnibox_view_browsertest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/native_widget_aura.cc View 1 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
oshima
9 years ago (2011-12-14 17:54:37 UTC) #1
Ben Goodger (Google)
Why not just check if active first? Who calls ClearNativeFocus()? -Ben On Wed, Dec 14, ...
9 years ago (2011-12-14 18:17:36 UTC) #2
oshima
On 2011/12/14 18:17:36, Ben Goodger (Google) wrote: > Why not just check if active first? ...
9 years ago (2011-12-14 21:07:35 UTC) #3
Ben Goodger (Google)
My question is then "why (i.e. under what circumstances) would you want to clear or ...
9 years ago (2011-12-14 21:09:57 UTC) #4
oshima
On Wed, Dec 14, 2011 at 1:09 PM, Ben Goodger (Google) <ben@chromium.org>wrote: > My question ...
9 years ago (2011-12-14 21:27:34 UTC) #5
Ben Goodger (Google)
So this would indicate that we need to keep this function for Aura, right? -Ben ...
9 years ago (2011-12-14 21:35:02 UTC) #6
oshima
On Wed, Dec 14, 2011 at 1:34 PM, Ben Goodger (Google) <ben@chromium.org>wrote: > So this ...
9 years ago (2011-12-14 21:49:14 UTC) #7
Ben Goodger (Google)
lgtm
9 years ago (2011-12-14 23:54:11 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/8931022/5002
9 years ago (2011-12-14 23:57:47 UTC) #9
commit-bot: I haz the power
9 years ago (2011-12-15 01:14:17 UTC) #10
Change committed as 114561

Powered by Google App Engine
This is Rietveld 408576698