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

Issue 9456013: ABANDONED: Focus the content when the wrench menu disappears. (Closed)

Created:
8 years, 10 months ago by sadrul
Modified:
8 years, 10 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Focus the content when the wrench menu disappears. BUG=114536 TEST=none

Patch Set 1 #

Patch Set 2 : . #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -0 lines) Patch
M chrome/browser/ui/views/wrench_menu.cc View 1 2 chunks +11 lines, -0 lines 1 comment Download

Messages

Total messages: 4 (0 generated)
sadrul
http://codereview.chromium.org/9456013/diff/3/chrome/browser/ui/views/wrench_menu.cc File chrome/browser/ui/views/wrench_menu.cc (right): http://codereview.chromium.org/9456013/diff/3/chrome/browser/ui/views/wrench_menu.cc#newcode620 chrome/browser/ui/views/wrench_menu.cc:620: } An alternate option is to expose GetTabContentsContainerView for ...
8 years, 10 months ago (2012-02-23 14:51:23 UTC) #1
Ben Goodger (Google)
I think there's a deeper problem than this. If you follow my STR on Windows ...
8 years, 10 months ago (2012-02-23 16:55:05 UTC) #2
sadrul
On 2012/02/23 16:55:05, Ben Goodger (Google) wrote: > I think there's a deeper problem than ...
8 years, 10 months ago (2012-02-23 17:00:22 UTC) #3
Ben Goodger (Google)
8 years, 10 months ago (2012-02-23 17:05:17 UTC) #4
When in doubt, match Windows.

-Ben

On Thu, Feb 23, 2012 at 9:00 AM, <sadrul@chromium.org> wrote:

> On 2012/02/23 16:55:05, Ben Goodger (Google) wrote:
>
>> I think there's a deeper problem than this. If you follow my STR on
>> Windows
>> Chrome, it works, without your code.
>>
>
>  So it sounds more like we're not restoring focus properly in aura/ash.
>>
>
> Ah, interesting. There is a good chance this happens because of the call to
> 'RepostEvent' in MenuController::**SetSelectionOnPointerDown. It makes
> sure the
> event gets sent again so that the window where the click happened receives
> the
> event. It is done only for non-aura windows.
>
> In a linux build, clicking outside the menu simply cancels the menu; the
> window
> the click happened on does not receive the click. Do we want to preserve
> this
> behaviour for chromeos, or do we want to do what non-aura windows does, and
> repost the event?
>
>
http://codereview.chromium.**org/9456013/<http://codereview.chromium.org/9456...
>

Powered by Google App Engine
This is Rietveld 408576698