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

Issue 2715513006: Fix showing the sibling menu on mouse move (Closed)

Created:
3 years, 10 months ago by afakhry
Modified:
3 years, 8 months ago
Reviewers:
oshima, Devlin, sadrul
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix showing the sibling menu on mouse move Using GetTopWindowContainingPoint() was returning the ExoShellSurfce in the case of ARC++ devices, which was different from the window of the widget that owns the menu. This prevented showing the sibling menu when the mouse moved and hovered over the neighboring menu button. We decided to remove GetTopWindowContainingPoint() as it's not needed anymore. BUG=594439 Review-Url: https://codereview.chromium.org/2715513006 Cr-Commit-Position: refs/heads/master@{#460995} Committed: https://chromium.googlesource.com/chromium/src/+/6ad1835ebdf60d5363f0df85437f34a4c3e46052

Patch Set 1 #

Total comments: 3

Patch Set 2 : Remove GetTopWindowContainingPoint() #

Patch Set 3 : Fix compile error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -46 lines) Patch
M ash/display/screen_ash.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M ash/drag_drop/drag_drop_controller_unittest.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M ash/mus/screen_mus.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M extensions/shell/browser/shell_screen.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/test/test_screen.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/window.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M ui/aura/window.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M ui/aura/window_unittest.cc View 1 1 chunk +0 lines, -31 lines 0 comments Download
M ui/views/mus/mus_client.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 34 (19 generated)
afakhry
Oshima-san, I need to ask you about this CL. How can I write a browser ...
3 years, 9 months ago (2017-02-25 00:58:36 UTC) #6
oshima
On 2017/02/25 00:58:36, afakhry wrote: > Oshima-san, I need to ask you about this CL. ...
3 years, 9 months ago (2017-02-28 02:05:35 UTC) #7
afakhry
On 2017/02/28 02:05:35, oshima wrote: > On 2017/02/25 00:58:36, afakhry wrote: > > Oshima-san, I ...
3 years, 9 months ago (2017-02-28 02:16:26 UTC) #8
oshima
On 2017/02/28 02:16:26, afakhry wrote: > On 2017/02/28 02:05:35, oshima wrote: > > On 2017/02/25 ...
3 years, 9 months ago (2017-02-28 07:54:45 UTC) #9
afakhry
https://codereview.chromium.org/2715513006/diff/1/ash/display/screen_ash.cc File ash/display/screen_ash.cc (left): https://codereview.chromium.org/2715513006/diff/1/ash/display/screen_ash.cc#oldcode107 ash/display/screen_ash.cc:107: return root_window->GetTopWindowContainingPoint(local_point); +Sadrul. Oshima and talked about deprecating this ...
3 years, 9 months ago (2017-03-21 17:35:47 UTC) #11
sadrul
https://codereview.chromium.org/2715513006/diff/1/ash/display/screen_ash.cc File ash/display/screen_ash.cc (left): https://codereview.chromium.org/2715513006/diff/1/ash/display/screen_ash.cc#oldcode107 ash/display/screen_ash.cc:107: return root_window->GetTopWindowContainingPoint(local_point); On 2017/03/21 17:35:47, afakhry wrote: > +Sadrul. ...
3 years, 9 months ago (2017-03-22 20:04:31 UTC) #12
afakhry
https://codereview.chromium.org/2715513006/diff/1/ash/display/screen_ash.cc File ash/display/screen_ash.cc (left): https://codereview.chromium.org/2715513006/diff/1/ash/display/screen_ash.cc#oldcode107 ash/display/screen_ash.cc:107: return root_window->GetTopWindowContainingPoint(local_point); On 2017/03/22 20:04:31, sadrul wrote: > On ...
3 years, 9 months ago (2017-03-22 20:29:33 UTC) #13
oshima
On 2017/03/22 20:29:33, afakhry wrote: > https://codereview.chromium.org/2715513006/diff/1/ash/display/screen_ash.cc > File ash/display/screen_ash.cc (left): > > https://codereview.chromium.org/2715513006/diff/1/ash/display/screen_ash.cc#oldcode107 > ...
3 years, 9 months ago (2017-03-23 12:52:29 UTC) #14
afakhry
Sadrul & Oshima, Please take a look! Thanks. I removed the GetTopWindowContainingPoint() as agreed.
3 years, 9 months ago (2017-03-25 02:47:35 UTC) #24
sadrul
lgtm I suspect it is possible for this change to introduce some regressions (specifically, with ...
3 years, 8 months ago (2017-03-28 19:05:02 UTC) #25
afakhry
Thanks, Sadrul. I will keep an eye on any regressions. Devlin for extensions and Oshima ...
3 years, 8 months ago (2017-03-29 01:59:09 UTC) #27
Devlin
extensions lgtm. This code is a little magical to me, but this seems sane. :)
3 years, 8 months ago (2017-03-30 22:24:20 UTC) #28
oshima
lgtm
3 years, 8 months ago (2017-03-31 01:10:08 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2715513006/40001
3 years, 8 months ago (2017-03-31 01:11:46 UTC) #31
commit-bot: I haz the power
3 years, 8 months ago (2017-03-31 02:09:48 UTC) #34
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/6ad1835ebdf60d5363f0df85437f...

Powered by Google App Engine
This is Rietveld 408576698