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

Issue 1740193002: Fix the coordinates for touch selection. (Closed)

Created:
4 years, 9 months ago by oshima
Modified:
4 years, 9 months ago
Reviewers:
mohsen, pfeldman, tdresser
CC:
chromium-reviews, creis+watch_chromium.org, danakj+watch_chromium.org, darin-cc_chromium.org, jam, jbauman+watch_chromium.org, kalyank, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, nona+watch_chromium.org, piman+watch_chromium.org, shuchen+watch_chromium.org, sievers+watch_chromium.org, James Su, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix the coordinates for touch selection. * The selection bounds attached to CompositorFrameMetaData is in viewport coordinates. This needs to be converted to DIP for browser somewhere. For now, this CL convert it in browser side rather than renderer side because the code that computes the selection bounds is in cc/ rather than content/renderer. Consider move that part ot content/renderer and move this to there instead. BUG=585043 TEST=TouchSelectionControllerClientAuraScaleFactorTest*. manual. Committed: https://crrev.com/93b827d99389ad0ce61362695ad641b14ca33180 Cr-Commit-Position: refs/heads/master@{#378500}

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+253 lines, -75 lines) Patch
M content/browser/renderer_host/input/touch_selection_controller_client_aura_browsertest.cc View 1 20 chunks +228 lines, -71 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 2 chunks +8 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M content/test/data/touch_selection.html View 1 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (17 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1740193002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1740193002/1
4 years, 9 months ago (2016-02-26 17:45:54 UTC) #2
oshima
This is alternative approach to https://codereview.chromium.org/1697483003/.
4 years, 9 months ago (2016-02-26 18:59:11 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/29835)
4 years, 9 months ago (2016-02-26 20:56:24 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1740193002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1740193002/1
4 years, 9 months ago (2016-02-26 23:09:57 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-02-27 01:21:06 UTC) #11
tdresser
mohsen@, is there a reasonable place for an automated test for this change?
4 years, 9 months ago (2016-02-29 15:38:03 UTC) #12
mohsen
On 2016/02/29 at 15:38:03, tdresser wrote: > mohsen@, is there a reasonable place for an ...
4 years, 9 months ago (2016-02-29 17:08:17 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1740193002/30001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1740193002/30001
4 years, 9 months ago (2016-03-01 04:02:23 UTC) #15
commit-bot: I haz the power
Dry run: 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/123422)
4 years, 9 months ago (2016-03-01 04:33:52 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1740193002/50001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1740193002/50001
4 years, 9 months ago (2016-03-01 15:26:23 UTC) #21
oshima
PTAL. I made a few refactoring in the test file.
4 years, 9 months ago (2016-03-01 15:26:54 UTC) #22
tdresser
lgtm
4 years, 9 months ago (2016-03-01 15:31:29 UTC) #24
mohsen
lgtm
4 years, 9 months ago (2016-03-01 16:47:49 UTC) #25
oshima
+pfeldman@ requesting owners approval for content/renderer
4 years, 9 months ago (2016-03-01 16:51:22 UTC) #27
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-01 16:53:23 UTC) #29
pfeldman
lgtm
4 years, 9 months ago (2016-03-01 18:24:56 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1740193002/50001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1740193002/50001
4 years, 9 months ago (2016-03-01 18:51:27 UTC) #32
commit-bot: I haz the power
Committed patchset #2 (id:50001)
4 years, 9 months ago (2016-03-01 18:58:55 UTC) #34
commit-bot: I haz the power
4 years, 9 months ago (2016-03-01 19:00:03 UTC) #36
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/93b827d99389ad0ce61362695ad641b14ca33180
Cr-Commit-Position: refs/heads/master@{#378500}

Powered by Google App Engine
This is Rietveld 408576698