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

Issue 1266643002: content: Populate WebPointerProperties with stylus details from ui::MouseEvent (Closed)

Created:
5 years, 4 months ago by robert.bradford
Modified:
5 years, 3 months ago
Reviewers:
sadrul
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@experimental-pointer-events
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

content: Populate WebPointerProperties with stylus details from ui::MouseEvent ui::MouseEvent now holds values needed for implementing stylus support with Pointer Events. This change populates the WebPointerProperties values with the details from the MouseEvent's PointerDetails. TEST=content_tests:TestMakeWebMouse[Wheel]Event BUG=516706 Committed: https://crrev.com/f0cf27e36a998f506342022738902751a19df1cc Cr-Commit-Position: refs/heads/master@{#348375}

Patch Set 1 : Update for PointerDetails #

Total comments: 4

Patch Set 2 : Remove default case. #

Patch Set 3 : Add unit test #

Patch Set 4 : Fix windows floating point conversion #

Total comments: 1

Patch Set 5 : Test MakeWebMouseEvent and MakeWebMouseWheelEvent instead #

Unified diffs Side-by-side diffs Delta from patch set Stats (+295 lines, -0 lines) Patch
M content/browser/renderer_host/web_input_event_aura.cc View 1 3 4 3 chunks +28 lines, -0 lines 0 comments Download
M content/browser/renderer_host/web_input_event_aura_unittest.cc View 1 2 3 4 2 chunks +267 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (7 generated)
robert.bradford
5 years, 4 months ago (2015-07-29 17:32:37 UTC) #1
robert.bradford
Hi Sadrul, please take a look at this patch as part of the ChromeOS stylus ...
5 years, 3 months ago (2015-08-26 13:10:16 UTC) #4
sadrul
https://codereview.chromium.org/1266643002/diff/20001/content/browser/renderer_host/web_input_event_aura.cc File content/browser/renderer_host/web_input_event_aura.cc (right): https://codereview.chromium.org/1266643002/diff/20001/content/browser/renderer_host/web_input_event_aura.cc#newcode62 content/browser/renderer_host/web_input_event_aura.cc:62: default: Remove default case. https://codereview.chromium.org/1266643002/diff/20001/content/browser/renderer_host/web_input_event_aura.cc#newcode399 content/browser/renderer_host/web_input_event_aura.cc:399: webkit_event.tiltX = roundf(event.pointer_details().tilt_x()); ...
5 years, 3 months ago (2015-08-26 19:05:30 UTC) #5
robert.bradford
Hi Sadrul, thanks for the review. Please see my comments below. https://codereview.chromium.org/1266643002/diff/20001/content/browser/renderer_host/web_input_event_aura.cc File content/browser/renderer_host/web_input_event_aura.cc (right): ...
5 years, 3 months ago (2015-08-27 14:54:51 UTC) #6
sadrul
Can you add a test in web_input_event_aura_unittest.cc to guard against regressions from possible refactor etc.?
5 years, 3 months ago (2015-08-27 19:54:07 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/1266643002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1266643002/60001
5 years, 3 months ago (2015-09-09 14:38:11 UTC) #9
robert.bradford
On 2015/08/27 19:54:07, sadrul wrote: > Can you add a test in web_input_event_aura_unittest.cc to guard ...
5 years, 3 months ago (2015-09-09 14:40:18 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/101697)
5 years, 3 months ago (2015-09-09 15:53:17 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1266643002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1266643002/80001
5 years, 3 months ago (2015-09-09 17:17:30 UTC) #14
sadrul
https://codereview.chromium.org/1266643002/diff/80001/content/browser/renderer_host/web_input_event_aura.h File content/browser/renderer_host/web_input_event_aura.h (right): https://codereview.chromium.org/1266643002/diff/80001/content/browser/renderer_host/web_input_event_aura.h#newcode41 content/browser/renderer_host/web_input_event_aura.h:41: const ui::MouseWheelEvent& event); You don't actually need to expose ...
5 years, 3 months ago (2015-09-09 17:32:07 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-09 17:52:48 UTC) #17
robert.bradford
On 2015/09/09 17:32:07, sadrul wrote: > https://codereview.chromium.org/1266643002/diff/80001/content/browser/renderer_host/web_input_event_aura.h > File content/browser/renderer_host/web_input_event_aura.h (right): > > https://codereview.chromium.org/1266643002/diff/80001/content/browser/renderer_host/web_input_event_aura.h#newcode41 > ...
5 years, 3 months ago (2015-09-10 12:16:50 UTC) #18
sadrul
LGTM. Thanks for the tests!
5 years, 3 months ago (2015-09-10 18:28:52 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1266643002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1266643002/100001
5 years, 3 months ago (2015-09-11 09:55:47 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:100001)
5 years, 3 months ago (2015-09-11 11:14:35 UTC) #22
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/f0cf27e36a998f506342022738902751a19df1cc Cr-Commit-Position: refs/heads/master@{#348375}
5 years, 3 months ago (2015-09-11 11:15:14 UTC) #23
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 12:21:16 UTC) #24
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/f0cf27e36a998f506342022738902751a19df1cc
Cr-Commit-Position: refs/heads/master@{#348375}

Powered by Google App Engine
This is Rietveld 408576698