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

Issue 1131723006: [Android] Implement scrollTo in terms of scrollBy (Closed)

Created:
5 years, 7 months ago by jdduke (slow)
Modified:
5 years, 7 months ago
Reviewers:
hush (inactive)
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android] Implement scrollTo in terms of scrollBy Currently, ContentViewCore.scrollBy injects a GestureScrollUpdate event. However, without a preceding GestureScrollBegin and trailing GestureScrollEnd, this can lead to inconsistencies in the input pipeline state. Fix scrollBy to send the proper gesture event sequence, also changing scrollTo to be implemented in terms of scrollBy. BUG=454355 Committed: https://crrev.com/d717dd028765c19c80df4d50a3ce23bc0fcec293 Cr-Commit-Position: refs/heads/master@{#330475}

Patch Set 1 #

Patch Set 2 : Test #

Patch Set 3 : Cleanup #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -19 lines) Patch
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 1 chunk +13 lines, -18 lines 2 comments Download
M content/public/android/javatests/src/org/chromium/content/browser/ContentViewScrollingTest.java View 1 2 3 chunks +42 lines, -1 line 0 comments Download

Messages

Total messages: 10 (3 generated)
jdduke (slow)
hush@: PTAL, thanks. https://codereview.chromium.org/1131723006/diff/60001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java File content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java (right): https://codereview.chromium.org/1131723006/diff/60001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java#newcode1793 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java:1793: public void scrollBy(float dxPix, float dyPix) ...
5 years, 7 months ago (2015-05-18 21:31:53 UTC) #3
hush (inactive)
https://codereview.chromium.org/1131723006/diff/60001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java File content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java (right): https://codereview.chromium.org/1131723006/diff/60001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java#newcode1793 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java:1793: public void scrollBy(float dxPix, float dyPix) { Hi Jared, ...
5 years, 7 months ago (2015-05-19 00:33:23 UTC) #4
jdduke (slow)
On 2015/05/19 00:33:23, hush wrote: > https://codereview.chromium.org/1131723006/diff/60001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java > File > content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java > (right): > > ...
5 years, 7 months ago (2015-05-19 00:42:15 UTC) #5
hush (inactive)
Okay. lgtm Thanks!
5 years, 7 months ago (2015-05-19 00:55:09 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1131723006/60001
5 years, 7 months ago (2015-05-19 03:41:17 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:60001)
5 years, 7 months ago (2015-05-19 03:46:39 UTC) #9
commit-bot: I haz the power
5 years, 7 months ago (2015-05-19 03:48:04 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d717dd028765c19c80df4d50a3ce23bc0fcec293
Cr-Commit-Position: refs/heads/master@{#330475}

Powered by Google App Engine
This is Rietveld 408576698