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

Issue 2507963002: Implement hit tests/client area. (Closed)

Created:
4 years, 1 month ago by Elliot Glaysher
Modified:
4 years, 1 month ago
Reviewers:
sky
CC:
chromium-reviews, kalyank, sadrul, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

views_aura_mua: Implement hit tests/client area. BUG=663525 Committed: https://crrev.com/63a80c37206d7e07759164e4f86e3b545bab9b95 Cr-Commit-Position: refs/heads/master@{#433996}

Patch Set 1 #

Patch Set 2 : Add debugging printfs for bot failure that doesn't repro locally. #

Patch Set 3 : Maybe remove the observer better? #

Patch Set 4 : Rebase to ToT #

Patch Set 5 : Merge with recent changes to Env::CreateInstance() #

Patch Set 6 : Really fix compile #

Total comments: 1

Patch Set 7 : Merge with tot #

Total comments: 12

Patch Set 8 : sky comments #

Patch Set 9 : Move the ClientSideNonClientFrameView to DWTHMus #

Patch Set 10 : fix x11 compile #

Total comments: 2

Patch Set 11 : add it back #

Unified diffs Side-by-side diffs Delta from patch set Stats (+325 lines, -40 lines) Patch
M ui/aura/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura/mus/window_tree_client.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +7 lines, -5 lines 0 comments Download
M ui/aura/mus/window_tree_client.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +33 lines, -29 lines 0 comments Download
M ui/aura/mus/window_tree_host_mus.h View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M ui/aura/mus/window_tree_host_mus.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +9 lines, -0 lines 0 comments Download
M ui/aura/mus/window_tree_host_mus_delegate.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +11 lines, -0 lines 0 comments Download
A ui/aura/mus/window_tree_host_mus_unittest.cc View 1 2 3 4 5 6 7 1 chunk +37 lines, -0 lines 0 comments Download
M ui/aura/test/mus/test_window_tree.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +10 lines, -0 lines 0 comments Download
M ui/aura/test/mus/test_window_tree.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -2 lines 0 comments Download
M ui/views/mus/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/mus/desktop_window_tree_host_mus.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +9 lines, -0 lines 0 comments Download
M ui/views/mus/desktop_window_tree_host_mus.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +132 lines, -0 lines 0 comments Download
M ui/views/mus/mus_client.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +6 lines, -0 lines 0 comments Download
M ui/views/mus/mus_client.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +10 lines, -2 lines 0 comments Download
A ui/views/mus/mus_client_observer.h View 1 chunk +25 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_widget_aura.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +1 line, -2 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_win.h View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc View 1 2 3 4 5 6 7 8 9 10 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 5 6 7 8 9 2 chunks +2 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 56 (47 generated)
Elliot Glaysher
This implements basic hit tests/client area support. These fields also need to be updated when ...
4 years, 1 month ago (2016-11-18 21:14:54 UTC) #28
sky
Is using WindowManagerFrameValues planned for a future cl? See ClientSideNonClientFrameView in NativeWidgetMus. https://codereview.chromium.org/2507963002/diff/120001/ui/aura/BUILD.gn File ui/aura/BUILD.gn ...
4 years, 1 month ago (2016-11-19 15:29:32 UTC) #31
Elliot Glaysher
Also moved the ClientSideNonClientFrameView to the DesktopWindowTreeHostMus and moved the current code in DesktopNativeWidgetAura to ...
4 years, 1 month ago (2016-11-22 00:48:07 UTC) #42
sky
https://codereview.chromium.org/2507963002/diff/180001/ui/aura/mus/window_tree_client.cc File ui/aura/mus/window_tree_client.cc (right): https://codereview.chromium.org/2507963002/diff/180001/ui/aura/mus/window_tree_client.cc#newcode1467 ui/aura/mus/window_tree_client.cc:1467: // TODO(erg): Currently, nobody uses |additional_client_area_in_pixels|. It's used in ...
4 years, 1 month ago (2016-11-22 04:19:09 UTC) #43
Elliot Glaysher
https://codereview.chromium.org/2507963002/diff/180001/ui/aura/mus/window_tree_client.cc File ui/aura/mus/window_tree_client.cc (right): https://codereview.chromium.org/2507963002/diff/180001/ui/aura/mus/window_tree_client.cc#newcode1467 ui/aura/mus/window_tree_client.cc:1467: // TODO(erg): Currently, nobody uses |additional_client_area_in_pixels|. On 2016/11/22 04:19:09, ...
4 years, 1 month ago (2016-11-22 18:57:12 UTC) #46
sky
LGTM. The places I pointed you are don't actually set the additional insets. Setting is ...
4 years, 1 month ago (2016-11-22 20:53:52 UTC) #49
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/2507963002/200001
4 years, 1 month ago (2016-11-22 21:05:02 UTC) #51
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 1 month ago (2016-11-22 21:53:35 UTC) #54
commit-bot: I haz the power
4 years, 1 month ago (2016-11-22 21:56:28 UTC) #56
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/63a80c37206d7e07759164e4f86e3b545bab9b95
Cr-Commit-Position: refs/heads/master@{#433996}

Powered by Google App Engine
This is Rietveld 408576698