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

Issue 1308553007: Convert MouseEvents from DIPS to Pixels before passing it to surfaces for hittesting. (Closed)

Created:
5 years, 3 months ago by lfg
Modified:
5 years, 1 month ago
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, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert MouseEvents from DIPS to Pixels before passing it to surfaces for hittesting. BUG=529906 Committed: https://crrev.com/52bac907b88927112477d3a2700c6e6fdb1a8804 Cr-Commit-Position: refs/heads/master@{#358344}

Patch Set 1 #

Patch Set 2 : mac version #

Total comments: 1

Patch Set 3 : adding test, taking rotated displays into account #

Patch Set 4 : cleaning up #

Total comments: 2

Patch Set 5 : rebase #

Patch Set 6 : addressing comments #

Patch Set 7 : disabling windows #

Patch Set 8 : rebase #

Patch Set 9 : fixing mac #

Total comments: 17

Patch Set 10 : addressing comments #

Total comments: 2

Patch Set 11 : fixing InitAsChild #

Total comments: 1

Patch Set 12 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+217 lines, -140 lines) Patch
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 2 3 4 5 6 7 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 7 8 9 10 11 7 chunks +29 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +10 lines, -2 lines 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +175 lines, -134 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 28 (8 generated)
lfg
Hi Sadrul, can you take a look? Thanks!
5 years, 3 months ago (2015-09-10 17:28:17 UTC) #2
sadrul
https://codereview.chromium.org/1308553007/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/1308553007/diff/20001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode2172 content/browser/renderer_host/render_widget_host_view_aura.cc:2172: host->GetRootTransform().TransformPoint(&point_in_pixels); Does this do the right thing when the ...
5 years, 3 months ago (2015-09-11 17:48:11 UTC) #3
lfg
On 2015/09/11 17:48:11, sadrul wrote: > https://codereview.chromium.org/1308553007/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/1308553007/diff/20001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode2172 > ...
5 years, 3 months ago (2015-09-11 19:19:10 UTC) #4
sadrul
On 2015/09/11 19:19:10, lfg wrote: > On 2015/09/11 17:48:11, sadrul wrote: > > > https://codereview.chromium.org/1308553007/diff/20001/content/browser/renderer_host/render_widget_host_view_aura.cc ...
5 years, 3 months ago (2015-09-14 20:23:54 UTC) #5
lfg
Hey, sorry for the delay, I had some higher priority stuff coming in, but finally ...
5 years, 2 months ago (2015-10-19 21:21:00 UTC) #6
sadrul
The test failure on mac seem unrelated to crbug.com/545547. Mind taking a look at that? ...
5 years, 2 months ago (2015-10-21 21:46:21 UTC) #7
lfg
On 2015/10/21 21:46:21, sadrul wrote: > The test failure on mac seem unrelated to crbug.com/545547. ...
5 years, 2 months ago (2015-10-22 20:24:48 UTC) #9
lfg
Hey Sadrul, please take another look. Mac should be working now.
5 years, 1 month ago (2015-11-02 19:03:15 UTC) #10
sadrul
Could you add a mac owner for the mac change (looks reasonable to me)? https://codereview.chromium.org/1308553007/diff/180001/content/browser/renderer_host/render_widget_host_view_aura.cc ...
5 years, 1 month ago (2015-11-03 18:00:00 UTC) #11
lfg
https://codereview.chromium.org/1308553007/diff/180001/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/1308553007/diff/180001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode509 content/browser/renderer_host/render_widget_host_view_aura.cc:509: device_scale_factor_ = display.device_scale_factor(); On 2015/11/03 18:00:00, sadrul wrote: > ...
5 years, 1 month ago (2015-11-03 20:49:16 UTC) #12
sadrul
The aura changes lgtm. Please get a review from a mac owner for the mac ...
5 years, 1 month ago (2015-11-04 19:03:44 UTC) #13
lfg
https://codereview.chromium.org/1308553007/diff/200001/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/1308553007/diff/200001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode531 content/browser/renderer_host/render_widget_host_view_aura.cc:531: gfx::Screen::GetScreenFor(window_)->GetDisplayNearestWindow(window_); On 2015/11/04 19:03:44, sadrul wrote: > I don't ...
5 years, 1 month ago (2015-11-04 19:39:09 UTC) #14
lfg
Hey Avi, can you please take a look at: - render_widget_host_view_mac.mm - site_per_process_browsertest.cc Thanks!
5 years, 1 month ago (2015-11-04 19:48:44 UTC) #16
Avi (use Gerrit)
lgtm https://codereview.chromium.org/1308553007/diff/220001/content/browser/renderer_host/render_widget_host_view_mac.mm File content/browser/renderer_host/render_widget_host_view_mac.mm (right): https://codereview.chromium.org/1308553007/diff/220001/content/browser/renderer_host/render_widget_host_view_mac.mm#newcode1600 content/browser/renderer_host/render_widget_host_view_mac.mm:1600: .device_scale_factor(); I'm thinking in Cocoa, and would instinctively ...
5 years, 1 month ago (2015-11-04 20:16:47 UTC) #17
lfg
On 2015/11/04 20:16:47, Avi wrote: > lgtm > > https://codereview.chromium.org/1308553007/diff/220001/content/browser/renderer_host/render_widget_host_view_mac.mm > File content/browser/renderer_host/render_widget_host_view_mac.mm (right): > ...
5 years, 1 month ago (2015-11-04 21:08:39 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1308553007/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1308553007/220001
5 years, 1 month ago (2015-11-05 19:23:00 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/115963) linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 1 month ago (2015-11-05 19:26:31 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1308553007/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1308553007/240001
5 years, 1 month ago (2015-11-06 16:30:02 UTC) #26
commit-bot: I haz the power
Committed patchset #12 (id:240001)
5 years, 1 month ago (2015-11-06 17:28:00 UTC) #27
commit-bot: I haz the power
5 years, 1 month ago (2015-11-06 17:28:55 UTC) #28
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/52bac907b88927112477d3a2700c6e6fdb1a8804
Cr-Commit-Position: refs/heads/master@{#358344}

Powered by Google App Engine
This is Rietveld 408576698