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

Issue 1433153002: Ignore update cursor messages from blink when the cursor position lies outside our root window (Closed)

Created:
5 years, 1 month ago by ananta
Modified:
5 years, 1 month ago
Reviewers:
jam, sky, scottmg
CC:
chromium-reviews, yusukes+watch_chromium.org, shuchen+watch_chromium.org, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, James Su
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ignore update cursor messages from blink when the cursor position lies outside the bounds of the current RWHVA window This fixes the bug where in Dev tools style changes which cause cursor updates affect the cursor even when it is not the destination window. I made a change to the ScreenWin class to make the GetHWNDFromNativeView and GetNativeWindowFromHWND methods public BUG=534262 TBR=jam Committed: https://crrev.com/3e1db186342622ab582b8e97efd12b44ffe427e5 Cr-Commit-Position: refs/heads/master@{#359976}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Make the fix work for other platforms #

Total comments: 6

Patch Set 3 : Address review comments #

Patch Set 4 : Attempt to address Chrome OS redness #

Patch Set 5 : Attempt to address linux cast redness #

Patch Set 6 : Fix compile failures #

Patch Set 7 : Replace NULL with nullptr #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -18 lines) Patch
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 2 chunks +34 lines, -2 lines 0 comments Download
M ui/aura/test/test_screen.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M ui/gfx/screen_win.h View 1 2 chunks +6 lines, -6 lines 0 comments Download
M ui/gfx/screen_win.cc View 1 2 2 chunks +10 lines, -10 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 25 (9 generated)
ananta
5 years, 1 month ago (2015-11-11 02:35:05 UTC) #2
scottmg
Our cursors are such a mess. :( We have all sorts of CursorManagers and stuff, ...
5 years, 1 month ago (2015-11-11 05:37:53 UTC) #3
ananta
https://codereview.chromium.org/1433153002/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/1433153002/diff/1/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode2493 content/browser/renderer_host/render_widget_host_view_aura.cc:2493: if (legacy_render_widget_host_HWND_) { On 2015/11/11 05:37:52, scottmg wrote: > ...
5 years, 1 month ago (2015-11-11 19:35:08 UTC) #4
ananta
On 2015/11/11 19:35:08, ananta wrote: > https://codereview.chromium.org/1433153002/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/1433153002/diff/1/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode2493 > ...
5 years, 1 month ago (2015-11-11 19:38:16 UTC) #5
tdanderson
On 2015/11/11 19:38:16, ananta wrote: > On 2015/11/11 19:35:08, ananta wrote: > > > https://codereview.chromium.org/1433153002/diff/1/content/browser/renderer_host/render_widget_host_view_aura.cc ...
5 years, 1 month ago (2015-11-11 20:22:33 UTC) #6
ananta
On 2015/11/11 20:22:33, tdanderson wrote: > On 2015/11/11 19:38:16, ananta wrote: > > On 2015/11/11 ...
5 years, 1 month ago (2015-11-13 01:55:55 UTC) #9
ananta
+sky
5 years, 1 month ago (2015-11-13 01:56:20 UTC) #11
sky
https://codereview.chromium.org/1433153002/diff/20001/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/1433153002/diff/20001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode2482 content/browser/renderer_host/render_widget_host_view_aura.cc:2482: cursor_screen_point);; nit: only one ';'. https://codereview.chromium.org/1433153002/diff/20001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode2494 content/browser/renderer_host/render_widget_host_view_aura.cc:2494: gfx::ScreenWin* screen_win ...
5 years, 1 month ago (2015-11-13 16:12:18 UTC) #12
ananta
https://codereview.chromium.org/1433153002/diff/20001/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/1433153002/diff/20001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode2482 content/browser/renderer_host/render_widget_host_view_aura.cc:2482: cursor_screen_point);; On 2015/11/13 16:12:18, sky wrote: > nit: only ...
5 years, 1 month ago (2015-11-13 20:09:41 UTC) #13
sky
LGTM
5 years, 1 month ago (2015-11-14 15:26:02 UTC) #14
scottmg
lgtm
5 years, 1 month ago (2015-11-16 20:15:58 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1433153002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1433153002/60001
5 years, 1 month ago (2015-11-16 20:20:07 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/80327)
5 years, 1 month ago (2015-11-16 20:47:44 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1433153002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1433153002/120001
5 years, 1 month ago (2015-11-17 00:22:34 UTC) #23
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 1 month ago (2015-11-17 02:10:50 UTC) #24
commit-bot: I haz the power
5 years, 1 month ago (2015-11-17 02:12:05 UTC) #25
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/3e1db186342622ab582b8e97efd12b44ffe427e5
Cr-Commit-Position: refs/heads/master@{#359976}

Powered by Google App Engine
This is Rietveld 408576698