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

Issue 1187273004: Pass MotionEvent tilt angles to Blink on Android. (Closed)

Created:
5 years, 6 months ago by USE eero AT chromium.org
Modified:
5 years, 2 months ago
Reviewers:
mustaq
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 4

Patch Set 2 : Resolved TODOs #

Patch Set 3 : Resolved TODOs #

Patch Set 4 : Resolved TODOs #

Patch Set 5 : Rebase #

Total comments: 6

Patch Set 6 : MotionEventWeb, unit test values #

Total comments: 3

Patch Set 7 : Rebase #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -24 lines) Patch
M content/browser/android/content_view_core_impl.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 2 3 4 3 chunks +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/input/motion_event_android.h View 1 4 chunks +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/input/motion_event_android.cc View 1 5 chunks +14 lines, -0 lines 0 comments Download
M content/browser/renderer_host/input/motion_event_android_unittest.cc View 1 2 3 4 5 7 chunks +14 lines, -12 lines 0 comments Download
M content/browser/renderer_host/input/motion_event_web.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/input/motion_event_web.cc View 1 2 3 4 5 6 1 chunk +38 lines, -6 lines 2 comments Download
M content/browser/renderer_host/input/touch_emulator.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/input/touch_event_queue.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M content/common/input/synthetic_web_input_event_builders.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/common/input/web_input_event_traits.cc View 1 5 6 2 chunks +5 lines, -2 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
M ui/events/blink/blink_event_util.cc View 1 2 3 4 5 6 2 chunks +12 lines, -3 lines 1 comment Download
M ui/events/gesture_detection/motion_event.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M ui/events/gesture_detection/motion_event_buffer_unittest.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M ui/events/gesture_detection/motion_event_generic.h View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M ui/events/gesture_detection/motion_event_generic.cc View 1 2 3 4 3 chunks +7 lines, -0 lines 0 comments Download
M ui/events/test/motion_event_test_utils.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 24 (7 generated)
USE eero AT chromium.org
PTAL. This still needs a decision on how to pass tilt information to Blink i.e. ...
5 years, 6 months ago (2015-06-17 13:35:55 UTC) #2
mustaq
https://codereview.chromium.org/1187273004/diff/1/ui/events/blink/blink_event_util.cc File ui/events/blink/blink_event_util.cc (right): https://codereview.chromium.org/1187273004/diff/1/ui/events/blink/blink_event_util.cc#newcode106 ui/events/blink/blink_event_util.cc:106: if (event.GetToolType(pointer_index) == MotionEvent::TOOL_TYPE_STYLUS) { We should convert MotionEvent ...
5 years, 6 months ago (2015-06-17 20:01:27 UTC) #3
USE eero AT chromium.org
https://codereview.chromium.org/1187273004/diff/1/ui/events/blink/blink_event_util.cc File ui/events/blink/blink_event_util.cc (right): https://codereview.chromium.org/1187273004/diff/1/ui/events/blink/blink_event_util.cc#newcode106 ui/events/blink/blink_event_util.cc:106: if (event.GetToolType(pointer_index) == MotionEvent::TOOL_TYPE_STYLUS) { On 2015/06/17 20:01:27, mustaq ...
5 years, 6 months ago (2015-06-18 11:34:07 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1187273004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1187273004/80001
5 years, 4 months ago (2015-07-31 13:43:54 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-07-31 14:48:12 UTC) #9
USE eero AT chromium.org
PTAL. Blink side CLs have finally landed (and rolled into DEPS).
5 years, 4 months ago (2015-07-31 14:51:13 UTC) #10
jdduke (slow)
Just some nits. Is there an outstanding patch to add tilt support for non-Android platforms? ...
5 years, 4 months ago (2015-07-31 15:00:49 UTC) #11
USE eero AT chromium.org
On 2015/07/31 15:00:49, jdduke wrote: > Just some nits. Is there an outstanding patch to ...
5 years, 4 months ago (2015-07-31 18:18:15 UTC) #12
mustaq
https://codereview.chromium.org/1187273004/diff/100001/content/browser/renderer_host/input/motion_event_web.cc File content/browser/renderer_host/input/motion_event_web.cc (right): https://codereview.chromium.org/1187273004/diff/100001/content/browser/renderer_host/input/motion_event_web.cc#newcode177 content/browser/renderer_host/input/motion_event_web.cc:177: float r_x = tilt_x_r * tilt_y_z; Just out of ...
5 years, 4 months ago (2015-08-04 14:47:55 UTC) #14
Rick Byers
On 2015/07/31 at 18:18:15, e.hakkinen wrote: > On 2015/07/31 15:00:49, jdduke wrote: > > Just ...
5 years, 4 months ago (2015-08-04 15:31:16 UTC) #15
USE eero AT chromium.org
https://codereview.chromium.org/1187273004/diff/100001/content/browser/renderer_host/input/motion_event_web.cc File content/browser/renderer_host/input/motion_event_web.cc (right): https://codereview.chromium.org/1187273004/diff/100001/content/browser/renderer_host/input/motion_event_web.cc#newcode177 content/browser/renderer_host/input/motion_event_web.cc:177: float r_x = tilt_x_r * tilt_y_z; On 2015/08/04 14:47:55, ...
5 years, 4 months ago (2015-08-05 15:12:21 UTC) #16
USE eero AT chromium.org
Is there something I can do to help this to get reviewed?
5 years, 4 months ago (2015-08-12 16:10:06 UTC) #17
jdduke (slow)
https://codereview.chromium.org/1187273004/diff/120001/content/browser/renderer_host/input/motion_event_web.cc File content/browser/renderer_host/input/motion_event_web.cc (right): https://codereview.chromium.org/1187273004/diff/120001/content/browser/renderer_host/input/motion_event_web.cc#newcode140 content/browser/renderer_host/input/motion_event_web.cc:140: I think we'll want some basic test coverage for ...
5 years, 4 months ago (2015-08-12 17:00:13 UTC) #18
mustaq
Rubberstamp lgtm for the math. https://codereview.chromium.org/1187273004/diff/100001/content/browser/renderer_host/input/motion_event_web.cc File content/browser/renderer_host/input/motion_event_web.cc (right): https://codereview.chromium.org/1187273004/diff/100001/content/browser/renderer_host/input/motion_event_web.cc#newcode177 content/browser/renderer_host/input/motion_event_web.cc:177: float r_x = tilt_x_r ...
5 years, 4 months ago (2015-08-13 18:03:29 UTC) #19
jdduke (slow)
Any updates here?
5 years, 2 months ago (2015-10-05 15:41:33 UTC) #20
e_hakkinen
On 2015/10/05 15:41:33, jdduke wrote: > Any updates here? Sorry for a delay caused by ...
5 years, 2 months ago (2015-10-09 13:29:15 UTC) #21
e_hakkinen
5 years, 2 months ago (2015-10-21 08:13:35 UTC) #22
As the owner of an issua cannot be changed, let's continue review in here:
  https://codereview.chromium.org/1417803002/

Sorry for any inconvenient caused by that.

Powered by Google App Engine
This is Rietveld 408576698