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

Issue 1052433003: Allow postponed rail application for touch scrolling - blink side. (Closed)

Created:
5 years, 8 months ago by tdresser
Modified:
5 years, 8 months ago
CC:
blink-reviews, blink-reviews-events_chromium.org, dglazkov+blink, eae+blinkwatch
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Allow postponed rail application for touch scrolling - blink side. This is the first of several CLs to postpone rail application for touch scrolling. The following CL (https://codereview.chromium.org/1049383003/) will pass the railsMode correctly to blink, and apply the rails in the InputHandlerProxy when necessary, aligning the behavior with touchpad rail on Mac. BUG=469789

Patch Set 1 #

Patch Set 2 : Fix broken test. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -11 lines) Patch
M Source/core/page/EventHandler.cpp View 2 chunks +8 lines, -4 lines 0 comments Download
M Source/platform/PlatformGestureEvent.h View 5 chunks +10 lines, -1 line 0 comments Download
M Source/web/WebInputEvent.cpp View 1 chunk +1 line, -1 line 1 comment Download
M Source/web/WebInputEventConversion.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/WebViewImpl.h View 1 chunk +1 line, -0 lines 1 comment Download
M Source/web/WebViewImpl.cpp View 3 chunks +4 lines, -1 line 0 comments Download
M Source/web/tests/PinchViewportTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/tests/WebInputEventConversionTest.cpp View 1 4 chunks +8 lines, -2 lines 0 comments Download
M public/web/WebInputEvent.h View 2 chunks +3 lines, -1 line 1 comment Download

Messages

Total messages: 20 (4 generated)
tdresser
ccameron@, can you take a high level look at this and https://codereview.chromium.org/1049383003/, to make sure ...
5 years, 8 months ago (2015-04-01 17:06:37 UTC) #2
ccameron
On 2015/04/01 17:06:37, tdresser wrote: > ccameron@, can you take a high level look at ...
5 years, 8 months ago (2015-04-01 17:26:52 UTC) #3
tdresser
kbr@, can you take a look at Source/*? rbyers@, can you take a look at ...
5 years, 8 months ago (2015-04-01 17:29:21 UTC) #5
Rick Byers
public/ LGTM
5 years, 8 months ago (2015-04-01 17:39:53 UTC) #6
Ken Russell (switch to Gerrit)
Looks good overall modulo nits, but where are the tests for this feature? It seems ...
5 years, 8 months ago (2015-04-01 18:33:12 UTC) #7
jdduke (slow)
https://codereview.chromium.org/1052433003/diff/20001/public/web/WebInputEvent.h File public/web/WebInputEvent.h (right): https://codereview.chromium.org/1052433003/diff/20001/public/web/WebInputEvent.h#newcode483 public/web/WebInputEvent.h:483: RailsMode railsMode; I can't say I'm thrilled with this ...
5 years, 8 months ago (2015-04-02 16:55:53 UTC) #9
ccameron
On 2015/04/02 16:55:53, jdduke wrote: > https://codereview.chromium.org/1052433003/diff/20001/public/web/WebInputEvent.h > File public/web/WebInputEvent.h (right): > > https://codereview.chromium.org/1052433003/diff/20001/public/web/WebInputEvent.h#newcode483 > ...
5 years, 8 months ago (2015-04-02 18:49:53 UTC) #10
aelias_OOO_until_Jul13
In Jared's model, what would event.railsMode be used for? Is it needed at all?
5 years, 8 months ago (2015-04-02 20:55:59 UTC) #12
jdduke (slow)
On 2015/04/02 20:55:59, aelias wrote: > In Jared's model, what would event.railsMode be used for? ...
5 years, 8 months ago (2015-04-02 21:27:35 UTC) #13
tdresser
On 2015/04/02 21:27:35, jdduke wrote: > On 2015/04/02 20:55:59, aelias wrote: > > In Jared's ...
5 years, 8 months ago (2015-04-07 13:30:48 UTC) #14
jdduke (slow)
On 2015/04/07 13:30:48, tdresser wrote: > The scroll customization doc does mention this briefly: > ...
5 years, 8 months ago (2015-04-07 14:18:19 UTC) #15
tdresser
On 2015/04/07 14:18:19, jdduke wrote: > On 2015/04/07 13:30:48, tdresser wrote: > > The scroll ...
5 years, 8 months ago (2015-04-07 14:26:51 UTC) #16
Rick Byers
On 2015/04/07 14:26:51, tdresser wrote: > On 2015/04/07 14:18:19, jdduke wrote: > > On 2015/04/07 ...
5 years, 8 months ago (2015-04-07 14:59:44 UTC) #17
tdresser
On 2015/04/07 14:59:44, Rick Byers (Out until 4-7) wrote: > On 2015/04/07 14:26:51, tdresser wrote: ...
5 years, 8 months ago (2015-04-07 16:06:51 UTC) #18
jdduke (slow)
On 2015/04/07 14:59:44, Rick Byers (Out until 4-7) wrote: > The algorithm for computing the ...
5 years, 8 months ago (2015-04-07 16:20:44 UTC) #19
Rick Byers
5 years, 8 months ago (2015-04-07 21:06:12 UTC) #20
On 2015/04/07 16:20:44, jdduke wrote:
> On 2015/04/07 14:59:44, Rick Byers (Out until 4-7) wrote:
> > The algorithm for computing the railed deltas from the unrailed deltas and
> rail
> > mode is trivial (i.e. not dependent on any GR details), right?  How would
the
> > above design be different from one where instead of having railed deltas in
> the
> > event, we just have methods that compute and return the railed deltas?
> > 
> > I'm just trying to avoid an increase in the state space.
> 
> Right, that's why I mentioned "getters that give us the railed values".

Ah, sorry - I missed that.  Great, I'd definitely prefer to avoid tracking two
sets of deltas, but having two different views into the same state seems great.

Powered by Google App Engine
This is Rietveld 408576698