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

Issue 10948020: Convert native mouse locations to the locations in screen coordinate in RootWindowHostLinux. (Closed)

Created:
8 years, 3 months ago by mazda
Modified:
8 years, 3 months ago
Reviewers:
oshima, sky
CC:
chromium-reviews, sadrul, dcheng, ben+watch_chromium.org
Visibility:
Public.

Description

Convert native mouse locations to the locations in screen coordinate in RootWindowHostLinux. Once this CL is landed, event handlers do not need to be aware of native screen coordinates even when passive grab is taken. All the conversions can be done only by way of screen coordinate. This CL depends on http://codereview.chromium.org/10911342/. BUG=148686, 148761, 146435, 146072 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157720

Patch Set 1 #

Total comments: 10

Patch Set 2 : address comments #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -161 lines) Patch
M ash/display/mouse_cursor_event_filter.h View 1 chunk +4 lines, -4 lines 0 comments Download
M ash/display/mouse_cursor_event_filter.cc View 1 2 3 chunks +16 lines, -23 lines 0 comments Download
M ash/display/mouse_cursor_event_filter_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M ash/drag_drop/drag_drop_tracker.cc View 1 1 chunk +21 lines, -14 lines 0 comments Download
M ash/drag_drop/drag_drop_tracker_unittest.cc View 4 chunks +6 lines, -6 lines 0 comments Download
M ash/wm/coordinate_conversion.cc View 1 chunk +27 lines, -69 lines 0 comments Download
M ash/wm/workspace/workspace_window_resizer.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M ash/wm/workspace/workspace_window_resizer.cc View 1 2 chunks +6 lines, -16 lines 0 comments Download
M ash/wm/workspace/workspace_window_resizer_unittest.cc View 4 chunks +9 lines, -7 lines 0 comments Download
M chrome/browser/ui/ash/tabs/dock_info_ash.cc View 1 chunk +3 lines, -7 lines 0 comments Download
M ui/aura/root_window.cc View 1 1 chunk +2 lines, -6 lines 0 comments Download
M ui/aura/root_window_host_linux.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M ui/aura/root_window_host_linux.cc View 1 2 5 chunks +20 lines, -5 lines 0 comments Download
M ui/base/events/event.h View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
mazda
8 years, 3 months ago (2012-09-18 22:21:54 UTC) #1
oshima
http://codereview.chromium.org/10948020/diff/1/ash/display/mouse_cursor_event_filter.cc File ash/display/mouse_cursor_event_filter.cc (right): http://codereview.chromium.org/10948020/diff/1/ash/display/mouse_cursor_event_filter.cc#newcode89 ash/display/mouse_cursor_event_filter.cc:89: wm::ConvertPointToScreen(target, &point_in_screen); does this work when this target is ...
8 years, 3 months ago (2012-09-18 23:10:15 UTC) #2
mazda
I addressed all the comments. Please take another look. http://codereview.chromium.org/10948020/diff/1/ash/display/mouse_cursor_event_filter.cc File ash/display/mouse_cursor_event_filter.cc (right): http://codereview.chromium.org/10948020/diff/1/ash/display/mouse_cursor_event_filter.cc#newcode89 ash/display/mouse_cursor_event_filter.cc:89: ...
8 years, 3 months ago (2012-09-18 23:44:57 UTC) #3
oshima
thanks, this is awesome. Much simpler and nicer. LGTM
8 years, 3 months ago (2012-09-18 23:51:55 UTC) #4
mazda
+sky Could you do an OWNERS review for ash, ui/aura and ui?
8 years, 3 months ago (2012-09-19 03:55:09 UTC) #5
sky
Nice cleanup. LGTM
8 years, 3 months ago (2012-09-19 14:08:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mazda@chromium.org/10948020/6003
8 years, 3 months ago (2012-09-20 01:17:50 UTC) #7
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build. Your ...
8 years, 3 months ago (2012-09-20 01:48:09 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mazda@chromium.org/10948020/19001
8 years, 3 months ago (2012-09-20 05:23:35 UTC) #9
commit-bot: I haz the power
8 years, 3 months ago (2012-09-20 07:15:23 UTC) #10
Change committed as 157720

Powered by Google App Engine
This is Rietveld 408576698