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

Issue 2392063003: mus: Use TooltipManagerAura in NativeWidgetMus. (Closed)

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

Description

[reland] mus: Use TooltipManagerAura in NativeWidgetMus. This reland fixes the implementation of NativeWidgetMus:: {Get,Set}NativeWindowProperty. corewm code assumes that properties that get set on a Widget get set on that Widget's NativeWidget's aura content window. It also implements ScreenMus::GetWindowAtScreenPoint(), which is used to resolve if a window in the current application has capture. BUG=599558 First Review Url: https://codereview.chromium.org/2379073003 Committed: https://crrev.com/c60b24dc5fe1bd688177d5a6cd53bafd36a5c636 Cr-Commit-Position: refs/heads/master@{#423970}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Implement GetWindowAtScreenPos #

Total comments: 1

Patch Set 3 : add braces #

Total comments: 4

Patch Set 4 : Recurse on window tree in WMC. #

Patch Set 5 : lint patch #

Total comments: 3

Patch Set 6 : Add three tests for GetWindowAtScreenPoint #

Patch Set 7 : Fix compile #

Patch Set 8 : Visibility check #

Total comments: 1

Patch Set 9 : Add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+317 lines, -57 lines) Patch
M services/ui/public/cpp/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/BUILD.gn View 1 2 3 4 2 chunks +1 line, -3 lines 0 comments Download
M ui/views/corewm/DEPS View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/corewm/tooltip_controller_unittest.cc View 1 2 3 4 5 11 chunks +44 lines, -33 lines 0 comments Download
M ui/views/mus/BUILD.gn View 1 2 3 4 5 6 3 chunks +3 lines, -0 lines 0 comments Download
M ui/views/mus/native_widget_mus.h View 1 4 3 chunks +7 lines, -5 lines 0 comments Download
M ui/views/mus/native_widget_mus.cc View 1 2 3 4 7 chunks +40 lines, -14 lines 0 comments Download
M ui/views/mus/screen_mus.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/mus/screen_mus.cc View 1 2 3 4 2 chunks +14 lines, -0 lines 0 comments Download
M ui/views/mus/screen_mus_delegate.h View 1 2 chunks +7 lines, -1 line 0 comments Download
A ui/views/mus/test_utils.h View 1 2 3 4 5 6 1 chunk +30 lines, -0 lines 0 comments Download
M ui/views/mus/window_manager_connection.h View 1 2 3 4 5 4 chunks +8 lines, -0 lines 0 comments Download
M ui/views/mus/window_manager_connection.cc View 1 2 3 4 5 6 7 8 3 chunks +44 lines, -0 lines 0 comments Download
A ui/views/mus/window_manager_connection_unittest.cc View 1 2 3 4 5 6 7 1 chunk +113 lines, -0 lines 0 comments Download
M ui/views/widget/tooltip_manager_aura.h View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 41 (32 generated)
Elliot Glaysher
Changeset 1 is the previous patch, changeset 2 is the fixes. https://codereview.chromium.org/2392063003/diff/20001/ui/views/mus/screen_mus.cc File ui/views/mus/screen_mus.cc (right): ...
4 years, 2 months ago (2016-10-04 22:27:19 UTC) #10
sky
https://codereview.chromium.org/2392063003/diff/1/ui/views/mus/native_widget_mus.h File ui/views/mus/native_widget_mus.h (right): https://codereview.chromium.org/2392063003/diff/1/ui/views/mus/native_widget_mus.h#newcode10 ui/views/mus/native_widget_mus.h:10: #include <map> If you can, remove this now. https://codereview.chromium.org/2392063003/diff/40001/ui/views/corewm/tooltip_controller_unittest.cc ...
4 years, 2 months ago (2016-10-05 16:10:52 UTC) #13
Elliot Glaysher
https://codereview.chromium.org/2392063003/diff/1/ui/views/mus/native_widget_mus.h File ui/views/mus/native_widget_mus.h (right): https://codereview.chromium.org/2392063003/diff/1/ui/views/mus/native_widget_mus.h#newcode10 ui/views/mus/native_widget_mus.h:10: #include <map> On 2016/10/05 16:10:52, sky wrote: > If ...
4 years, 2 months ago (2016-10-06 18:00:09 UTC) #20
sky
https://codereview.chromium.org/2392063003/diff/80001/ui/views/mus/window_manager_connection.cc File ui/views/mus/window_manager_connection.cc (right): https://codereview.chromium.org/2392063003/diff/80001/ui/views/mus/window_manager_connection.cc#newcode47 ui/views/mus/window_manager_connection.cc:47: const int64_t window_display_id = window->GetRoot()->display_id(); Each window has a ...
4 years, 2 months ago (2016-10-06 21:23:42 UTC) #23
Elliot Glaysher
ptal
4 years, 2 months ago (2016-10-07 18:06:50 UTC) #32
sky
LGTM https://codereview.chromium.org/2392063003/diff/140001/ui/views/mus/window_manager_connection.cc File ui/views/mus/window_manager_connection.cc (right): https://codereview.chromium.org/2392063003/diff/140001/ui/views/mus/window_manager_connection.cc#newcode43 ui/views/mus/window_manager_connection.cc:43: ui::Window* GetWindowFrom(const std::map<int64_t, gfx::Point>& display_origins, Please add a ...
4 years, 2 months ago (2016-10-07 20:00:08 UTC) #35
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/2392063003/160001
4 years, 2 months ago (2016-10-07 20:07:52 UTC) #38
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 2 months ago (2016-10-07 21:30:33 UTC) #39
commit-bot: I haz the power
4 years, 2 months ago (2016-10-07 21:32:29 UTC) #41
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/c60b24dc5fe1bd688177d5a6cd53bafd36a5c636
Cr-Commit-Position: refs/heads/master@{#423970}

Powered by Google App Engine
This is Rietveld 408576698