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

Issue 268673017: Fix X11TopmostWindowFinder (Closed)

Created:
6 years, 7 months ago by pkotwicz
Modified:
6 years, 7 months ago
Reviewers:
sadrul
CC:
chromium-reviews, tfarina, ben+views_chromium.org, tdanderson+views_chromium.org
Visibility:
Public.

Description

Fix X11TopmostWindowFinder to take into account - Window manager provided window borders - Custom shapes specified via views::Widget::SetShape() BUG=None TEST=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270877

Patch Set 1 : #

Patch Set 2 : #

Total comments: 3

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Total comments: 1

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+497 lines, -72 lines) Patch
M ui/base/x/x11_util.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M ui/base/x/x11_util.cc View 1 2 3 3 chunks +8 lines, -9 lines 0 comments Download
M ui/views/views.gyp View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h View 1 2 3 4 chunks +23 lines, -2 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc View 1 2 3 10 chunks +96 lines, -58 lines 0 comments Download
A ui/views/widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc View 1 2 3 1 chunk +338 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/x11_topmost_window_finder.cc View 1 3 chunks +22 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
pkotwicz
Sadrul, PTAL I will fix up the unit tests once this CL lands. Honestly, I ...
6 years, 7 months ago (2014-05-03 01:26:48 UTC) #1
pkotwicz
Ping?
6 years, 7 months ago (2014-05-07 01:43:49 UTC) #2
sadrul
Looks good. A couple of nits. Can we have tests? https://codereview.chromium.org/268673017/diff/80001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc File ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc (right): https://codereview.chromium.org/268673017/diff/80001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc#newcode1136 ...
6 years, 7 months ago (2014-05-08 18:53:29 UTC) #3
pkotwicz
Sadrul, can you please take another look? I think I have addressed all of your ...
6 years, 7 months ago (2014-05-09 21:11:07 UTC) #4
sadrul
LGTM https://codereview.chromium.org/268673017/diff/100001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc File ui/views/widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc (right): https://codereview.chromium.org/268673017/diff/100001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc#newcode8 ui/views/widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc:8: // conflicts with the definition of None in ...
6 years, 7 months ago (2014-05-14 02:49:05 UTC) #5
pkotwicz
https://codereview.chromium.org/268673017/diff/100001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc File ui/views/widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc (right): https://codereview.chromium.org/268673017/diff/100001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc#newcode8 ui/views/widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc:8: // conflicts with the definition of None in gtest-type-util.h ...
6 years, 7 months ago (2014-05-14 04:07:24 UTC) #6
sadrul
https://codereview.chromium.org/268673017/diff/100001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc File ui/views/widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc (right): https://codereview.chromium.org/268673017/diff/100001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc#newcode8 ui/views/widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc:8: // conflicts with the definition of None in gtest-type-util.h ...
6 years, 7 months ago (2014-05-14 04:11:49 UTC) #7
pkotwicz
Sadrul, can you please quickly take a look at the changes in x11_atom_cache.* https://codereview.chromium.org/268673017/diff/160001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc File ...
6 years, 7 months ago (2014-05-14 17:47:51 UTC) #8
pkotwicz
Sadrul, ping!
6 years, 7 months ago (2014-05-15 15:56:00 UTC) #9
sadrul
On 2014/05/15 15:56:00, pkotwicz wrote: > Sadrul, ping! Can you land the atom changes separately ...
6 years, 7 months ago (2014-05-15 15:57:19 UTC) #10
pkotwicz
The CQ bit was checked by pkotwicz@chromium.org
6 years, 7 months ago (2014-05-15 22:02:10 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/268673017/180001
6 years, 7 months ago (2014-05-15 22:03:16 UTC) #12
commit-bot: I haz the power
Change committed as 270877
6 years, 7 months ago (2014-05-16 00:41:57 UTC) #13
Adrian Kuegel
6 years, 7 months ago (2014-05-16 08:23:08 UTC) #14
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/291583003/ by akuegel@chromium.org.

The reason for reverting is: Speculative revert because of failure in
desktop_screen_x11_unittest.cc (DesktopScreenX11Test.GetWindowAtScreenPoint)..

Powered by Google App Engine
This is Rietveld 408576698