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

Issue 148453012: Chrome requires WebTouchPoint to store WebFloatPoint, instead of WebPoint. (Closed)

Created:
6 years, 10 months ago by tdresser
Modified:
6 years, 9 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, cc-bugs_chromium.org, jam, jochen+watch_chromium.org
Visibility:
Public.

Description

Chrome requires WebTouchPoint to store WebFloatPoint, instead of WebPoint. This is the third of three patches converting WebTouchPoint to use WebFloatPoint instead of WebPoint. This cleans up some temporary casts to WebPoint in chromium. The first patch (https://codereview.chromium.org/140973005) allows chromium to accept WebFloatPoint (it just casts all the floats to ints). The second patch was a blink modification to store WebFloatPoint (https://codereview.chromium.org/149053002/). BUG=336807 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258357

Patch Set 1 #

Patch Set 2 : Rebase. #

Patch Set 3 : Rebase. #

Patch Set 4 : Fix test. #

Patch Set 5 : Clean up. #

Total comments: 8

Patch Set 6 : Address jdduke's comments. #

Total comments: 1

Patch Set 7 : Removing ugly floating point error fix #

Total comments: 4

Patch Set 8 : Address jdduke's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -71 lines) Patch
M content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc View 1 2 3 4 5 6 6 chunks +8 lines, -16 lines 0 comments Download
M content/browser/renderer_host/input/touch_event_queue.cc View 1 2 3 4 6 2 chunks +6 lines, -10 lines 0 comments Download
M content/browser/renderer_host/input/touch_event_queue_unittest.cc View 1 2 3 4 5 6 7 chunks +24 lines, -25 lines 0 comments Download
M content/browser/renderer_host/ui_events_helper.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M content/common/input/synthetic_web_input_event_builders.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M content/common/input/synthetic_web_input_event_builders.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/input/input_handler_proxy.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -2 lines 0 comments Download
M content/renderer/input/input_handler_proxy_unittest.cc View 1 2 3 4 1 chunk +2 lines, -4 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M content/shell/renderer/test_runner/EventSender.cpp View 1 2 chunks +2 lines, -4 lines 0 comments Download
M content/shell/renderer/test_runner/TestPlugin.cpp View 1 2 3 4 5 6 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
tdresser
jdduke, can you take a look at - content/browser/renderer_host/input/* - content/common/input/* - content/renderer/input/* Specifically, can ...
6 years, 9 months ago (2014-03-10 21:17:56 UTC) #1
jdduke (slow)
https://codereview.chromium.org/148453012/diff/80001/content/browser/renderer_host/input/touch_event_queue.cc File content/browser/renderer_host/input/touch_event_queue.cc (right): https://codereview.chromium.org/148453012/diff/80001/content/browser/renderer_host/input/touch_event_queue.cc#newcode179 content/browser/renderer_host/input/touch_event_queue.cc:179: touch_sequence_start_position_ = Hmm, does this fit on one line ...
6 years, 9 months ago (2014-03-10 22:03:22 UTC) #2
tdresser
https://codereview.chromium.org/148453012/diff/80001/content/browser/renderer_host/input/touch_event_queue.cc File content/browser/renderer_host/input/touch_event_queue.cc (right): https://codereview.chromium.org/148453012/diff/80001/content/browser/renderer_host/input/touch_event_queue.cc#newcode179 content/browser/renderer_host/input/touch_event_queue.cc:179: touch_sequence_start_position_ = On 2014/03/10 22:03:23, jdduke wrote: > Hmm, ...
6 years, 9 months ago (2014-03-12 13:54:39 UTC) #3
jdduke (slow)
https://codereview.chromium.org/148453012/diff/100001/content/browser/renderer_host/input/input_router_impl.cc File content/browser/renderer_host/input/input_router_impl.cc (right): https://codereview.chromium.org/148453012/diff/100001/content/browser/renderer_host/input/input_router_impl.cc#newcode157 content/browser/renderer_host/input/input_router_impl.cc:157: gfx::Screen::GetNativeScreen() Sorry, I didn't mean to suggest we have ...
6 years, 9 months ago (2014-03-12 15:27:26 UTC) #4
jdduke (slow)
On 2014/03/12 15:27:26, jdduke wrote: > https://codereview.chromium.org/148453012/diff/100001/content/browser/renderer_host/input/input_router_impl.cc > File content/browser/renderer_host/input/input_router_impl.cc (right): > > https://codereview.chromium.org/148453012/diff/100001/content/browser/renderer_host/input/input_router_impl.cc#newcode157 > ...
6 years, 9 months ago (2014-03-19 19:50:05 UTC) #5
tdresser
jdduke@, does this seem like a reasonable state to leave things for now? jochen@, can ...
6 years, 9 months ago (2014-03-20 11:43:04 UTC) #6
jdduke (slow)
content/browser/renderer_host/input, content/common/input and content/renderer/input lgtm with a couple questions. https://codereview.chromium.org/148453012/diff/120001/content/browser/renderer_host/input/touch_event_queue.cc File content/browser/renderer_host/input/touch_event_queue.cc (right): https://codereview.chromium.org/148453012/diff/120001/content/browser/renderer_host/input/touch_event_queue.cc#newcode195 content/browser/renderer_host/input/touch_event_queue.cc:195: ...
6 years, 9 months ago (2014-03-20 12:11:33 UTC) #7
tdresser
https://codereview.chromium.org/148453012/diff/120001/content/browser/renderer_host/input/touch_event_queue.cc File content/browser/renderer_host/input/touch_event_queue.cc (right): https://codereview.chromium.org/148453012/diff/120001/content/browser/renderer_host/input/touch_event_queue.cc#newcode195 content/browser/renderer_host/input/touch_event_queue.cc:195: slop_suppression_length_dips_squared_) On 2014/03/20 12:11:34, jdduke wrote: > Hmm, does ...
6 years, 9 months ago (2014-03-20 14:09:14 UTC) #8
jdduke (slow)
On 2014/03/20 14:09:14, tdresser wrote: > https://codereview.chromium.org/148453012/diff/120001/content/browser/renderer_host/input/touch_event_queue.cc > File content/browser/renderer_host/input/touch_event_queue.cc (right): > > https://codereview.chromium.org/148453012/diff/120001/content/browser/renderer_host/input/touch_event_queue.cc#newcode195 > ...
6 years, 9 months ago (2014-03-20 14:15:35 UTC) #9
tdresser
On 2014/03/20 14:15:35, jdduke wrote: > On 2014/03/20 14:09:14, tdresser wrote: > > > https://codereview.chromium.org/148453012/diff/120001/content/browser/renderer_host/input/touch_event_queue.cc ...
6 years, 9 months ago (2014-03-20 14:19:53 UTC) #10
jochen (gone - plz use gerrit)
lgtm
6 years, 9 months ago (2014-03-20 15:15:17 UTC) #11
tdresser
The CQ bit was checked by tdresser@chromium.org
6 years, 9 months ago (2014-03-20 15:18:21 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdresser@chromium.org/148453012/140001
6 years, 9 months ago (2014-03-20 15:19:30 UTC) #13
commit-bot: I haz the power
6 years, 9 months ago (2014-03-20 18:27:41 UTC) #14
Message was sent while issue was closed.
Change committed as 258357

Powered by Google App Engine
This is Rietveld 408576698