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

Issue 25336003: Use root window's coordinates when updating cursor in Aura (Closed)

Created:
7 years, 2 months ago by tdanderson
Modified:
7 years ago
Reviewers:
sadrul, sky, scottmg
CC:
chromium-reviews, joi+watch-content_chromium.org, yusukes+watch_chromium.org, jam, penghuang+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, danakj+watch_chromium.org, James Su, miu+watch_chromium.org
Visibility:
Public.

Description

Use root window's coordinates when updating cursor in Aura In RenderWidgetHostViewAura::UpdateCursorIfOverSelf(), the point used for the hit test against the root window needs to be in the root window's coordinate space. This CL also removes some Windows-specific code originally added for issue 292379 which is no longer needed. BUG=295125 TEST=RenderWidgetHostViewAuraTest.UpdateCursorIfOverSelf Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=242168

Patch Set 1 #

Total comments: 4

Patch Set 2 : comments addressed #

Patch Set 3 : some cleanup #

Patch Set 4 : some cleanup #

Patch Set 5 : updated patch #

Patch Set 6 : test added #

Patch Set 7 : win-specific hack removed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -13 lines) Patch
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 5 6 1 chunk +8 lines, -13 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura_unittest.cc View 1 2 3 4 5 1 chunk +45 lines, -0 lines 0 comments Download
M ui/aura/test/test_cursor_client.h View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M ui/aura/test/test_cursor_client.cc View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
sadrul
Preemptive drive-by review! https://codereview.chromium.org/25336003/diff/1/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/25336003/diff/1/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode3190 content/browser/renderer_host/render_widget_host_view_aura.cc:3190: local_point.Offset(-screen_rect.x(), -screen_rect.y()); I think this is ...
7 years, 2 months ago (2013-10-01 14:33:36 UTC) #1
tdanderson
Drive-by comments addressed. It looks as though the coordinate space of the point used in ...
7 years, 2 months ago (2013-10-17 18:23:46 UTC) #2
sadrul
LGTM
7 years, 2 months ago (2013-10-21 02:37:06 UTC) #3
sadrul
On 2013/10/21 02:37:06, sadrul wrote: > LGTM Let me know if you want me to ...
7 years, 2 months ago (2013-10-21 02:38:20 UTC) #4
sadrul
ping. Any update on this one?
7 years ago (2013-12-17 17:25:56 UTC) #5
tdanderson
Sadrul, can you please take another look? The test I added is unsatisfying for two ...
7 years ago (2013-12-18 00:27:58 UTC) #6
tdanderson
Scott, can you please take a look?
7 years ago (2013-12-19 17:31:48 UTC) #7
sky
LGTM
7 years ago (2013-12-19 17:48:34 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdanderson@chromium.org/25336003/90001
7 years ago (2013-12-19 18:04:01 UTC) #9
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) content_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=238525
7 years ago (2013-12-19 19:53:49 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdanderson@chromium.org/25336003/90001
7 years ago (2013-12-19 19:57:22 UTC) #11
tdanderson
Removing some Windows-specific code which I believe is no longer necessary, and was causing my ...
7 years ago (2013-12-19 22:54:27 UTC) #12
scottmg
On 2013/12/19 22:54:27, tdanderson wrote: > Removing some Windows-specific code which I believe is no ...
7 years ago (2013-12-19 23:51:51 UTC) #13
scottmg
On 2013/12/19 23:51:51, scottmg OoO Dec21-Jan5 wrote: > On 2013/12/19 22:54:27, tdanderson wrote: > > ...
7 years ago (2013-12-19 23:55:53 UTC) #14
tdanderson
I have verified that the latest patch does not break the context menu or the ...
7 years ago (2013-12-20 18:05:22 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdanderson@chromium.org/25336003/110001
7 years ago (2013-12-20 18:08:39 UTC) #16
commit-bot: I haz the power
7 years ago (2013-12-20 20:43:21 UTC) #17
Message was sent while issue was closed.
Change committed as 242168

Powered by Google App Engine
This is Rietveld 408576698