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

Issue 1203693003: Setting Accurate ScrollResult from Blink for Elastic Scroll. (Closed)

Created:
5 years, 6 months ago by MuVen
Modified:
5 years, 5 months ago
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, jam, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Setting Accurate ScrollResult from Blink for Elastic Scroll. Setting Accurate ScrollResult(overscroll information) from Blink for Elastic Scroll. Currently unprocessed event is considered as overscroll, where as processed event is considered as scroll. Blink Changes @ https://codereview.chromium.org/1195803003/ BUG=442859 Committed: https://crrev.com/f405d0e2e64c89ae9ce2f7d60360a5816942e4cd Cr-Commit-Position: refs/heads/master@{#337621}

Patch Set 1 : #

Total comments: 1

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Total comments: 1

Patch Set 4 : #

Patch Set 5 : Rebased to latest #

Total comments: 4

Patch Set 6 : addressed review comments #

Patch Set 7 : Rebased to latest #

Total comments: 2

Patch Set 8 : addressed piman review comments #

Total comments: 2

Patch Set 9 : #

Patch Set 10 : #

Total comments: 5

Patch Set 11 : addressed comments by Piman #

Patch Set 12 : addressed piman comments #

Total comments: 2

Patch Set 13 : addressed jared comment/added epsilon value to nullify for smaller unusedDelta #

Patch Set 14 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -15 lines) Patch
M content/renderer/render_view_impl.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +15 lines, -2 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 6 7 13 2 chunks +8 lines, -13 lines 0 comments Download

Messages

Total messages: 60 (26 generated)
ccameron
https://codereview.chromium.org/1203693003/diff/20001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/1203693003/diff/20001/content/renderer/render_widget.cc#newcode2302 content/renderer/render_widget.cc:2302: // http://crbug.com/442859 Even if event_processed is true, if you ...
5 years, 6 months ago (2015-06-23 16:09:16 UTC) #3
MuVen
PTAL.
5 years, 6 months ago (2015-06-25 12:56:01 UTC) #8
ccameron
The result computation looks good. The enabling I'll need to track carefully (see the attached ...
5 years, 6 months ago (2015-06-25 15:52:07 UTC) #9
MuVen
Addressed as ccameron suggested. Jared/ccameron, PTAL.
5 years, 6 months ago (2015-06-25 17:31:22 UTC) #11
jdduke (slow)
https://codereview.chromium.org/1203693003/diff/140001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/1203693003/diff/140001/content/renderer/render_widget.cc#newcode2301 content/renderer/render_widget.cc:2301: if (!compositor_deps_->IsElasticOverscrollEnabled()) With https://codereview.chromium.org/1209043002/, you should be able to ...
5 years, 6 months ago (2015-06-25 23:55:45 UTC) #12
MuVen
addressed as mentioned. PTAL.
5 years, 6 months ago (2015-06-26 11:39:24 UTC) #17
jdduke (slow)
Thanks, I'll defer to ccameron@ for the remaining review. https://codereview.chromium.org/1203693003/diff/260001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/1203693003/diff/260001/content/renderer/render_widget.cc#newcode2321 content/renderer/render_widget.cc:2321: ...
5 years, 6 months ago (2015-06-26 15:15:45 UTC) #18
MuVen
Ccameron, PTAL. Once https://codereview.chromium.org/1195803003/ is landed, shall fix the trybot failures. Thanks, https://codereview.chromium.org/1203693003/diff/260001/content/renderer/render_widget.cc File content/renderer/render_widget.cc ...
5 years, 5 months ago (2015-06-29 13:29:52 UTC) #19
ccameron
lgtm
5 years, 5 months ago (2015-06-30 17:57:32 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1203693003/300001
5 years, 5 months ago (2015-06-30 18:02:29 UTC) #22
MuVen
Hi Piman, Need owners approal. PTAL. Thank,
5 years, 5 months ago (2015-06-30 18:12:38 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/75017)
5 years, 5 months ago (2015-06-30 18:14:39 UTC) #26
piman
https://codereview.chromium.org/1203693003/diff/300001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/1203693003/diff/300001/content/renderer/render_view_impl.cc#newcode1140 content/renderer/render_view_impl.cc:1140: ? RenderViewImpl::FromWebView(web_view)->IsElasticOverscrollEnabled() RenderViewImpl will disappear in the future (out-of-process ...
5 years, 5 months ago (2015-06-30 21:30:00 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1203693003/340001
5 years, 5 months ago (2015-07-01 11:21:33 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/75289)
5 years, 5 months ago (2015-07-01 11:28:58 UTC) #33
MuVen
Hi Piman, PTAL. Thanks, https://codereview.chromium.org/1203693003/diff/300001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/1203693003/diff/300001/content/renderer/render_view_impl.cc#newcode1140 content/renderer/render_view_impl.cc:1140: ? RenderViewImpl::FromWebView(web_view)->IsElasticOverscrollEnabled() On 2015/06/30 21:30:00, ...
5 years, 5 months ago (2015-07-01 13:23:21 UTC) #34
piman
https://codereview.chromium.org/1203693003/diff/340001/content/public/renderer/render_view.h File content/public/renderer/render_view.h (right): https://codereview.chromium.org/1203693003/diff/340001/content/public/renderer/render_view.h#newcode66 content/public/renderer/render_view.h:66: CompositorDependencies* compositor_deps); What I had in mind was to ...
5 years, 5 months ago (2015-07-01 16:08:05 UTC) #35
MuVen
PTAL. https://codereview.chromium.org/1203693003/diff/340001/content/public/renderer/render_view.h File content/public/renderer/render_view.h (right): https://codereview.chromium.org/1203693003/diff/340001/content/public/renderer/render_view.h#newcode66 content/public/renderer/render_view.h:66: CompositorDependencies* compositor_deps); On 2015/07/01 16:08:05, piman (Very slow ...
5 years, 5 months ago (2015-07-01 17:01:39 UTC) #36
piman
https://codereview.chromium.org/1203693003/diff/380001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/1203693003/diff/380001/content/renderer/render_view_impl.cc#newcode1513 content/renderer/render_view_impl.cc:1513: compositor_deps ? compositor_deps->IsElasticOverscrollEnabled() : false; DCHECK(compositor_deps) instead. When called ...
5 years, 5 months ago (2015-07-01 20:30:46 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1203693003/400001
5 years, 5 months ago (2015-07-02 09:51:10 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/75652)
5 years, 5 months ago (2015-07-02 09:58:26 UTC) #42
MuVen
Hi Piman, PTAL. Thanks, https://codereview.chromium.org/1203693003/diff/380001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/1203693003/diff/380001/content/renderer/render_view_impl.cc#newcode1513 content/renderer/render_view_impl.cc:1513: compositor_deps ? compositor_deps->IsElasticOverscrollEnabled() : false; ...
5 years, 5 months ago (2015-07-02 13:52:48 UTC) #43
MuVen
PTAL. https://codereview.chromium.org/1203693003/diff/380001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/1203693003/diff/380001/content/renderer/render_view_impl.cc#newcode2661 content/renderer/render_view_impl.cc:2661: ApplyWebPreferencesInternal(webkit_preferences_, webview(), NULL); On 2015/07/02 13:52:47, MuVen wrote: ...
5 years, 5 months ago (2015-07-02 18:11:20 UTC) #44
piman
lgtm
5 years, 5 months ago (2015-07-07 15:01:29 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1203693003/420001
5 years, 5 months ago (2015-07-07 15:04:35 UTC) #48
jdduke (slow)
This might be a good patch to apply the small delta filtering we discussed earlier. ...
5 years, 5 months ago (2015-07-07 15:06:18 UTC) #49
MuVen
PTAL. https://codereview.chromium.org/1203693003/diff/420001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/1203693003/diff/420001/content/renderer/render_widget.cc#newcode2321 content/renderer/render_widget.cc:2321: scroll_result.did_overscroll_root = !wheel_unused_delta.IsZero(); On 2015/07/07 15:06:17, jdduke wrote: ...
5 years, 5 months ago (2015-07-07 15:36:45 UTC) #51
jdduke (slow)
On 2015/07/07 15:36:45, MuVen wrote: > PTAL. > > https://codereview.chromium.org/1203693003/diff/420001/content/renderer/render_widget.cc > File content/renderer/render_widget.cc (right): > ...
5 years, 5 months ago (2015-07-07 15:38:46 UTC) #52
MuVen
On 2015/07/07 15:38:46, jdduke wrote: > On 2015/07/07 15:36:45, MuVen wrote: > > PTAL. > ...
5 years, 5 months ago (2015-07-07 15:40:57 UTC) #53
jdduke (slow)
On 2015/07/07 15:40:57, MuVen wrote: > On 2015/07/07 15:38:46, jdduke wrote: > > On 2015/07/07 ...
5 years, 5 months ago (2015-07-07 15:44:05 UTC) #54
MuVen
On 2015/07/07 15:44:05, jdduke wrote: > On 2015/07/07 15:40:57, MuVen wrote: > > On 2015/07/07 ...
5 years, 5 months ago (2015-07-07 15:46:23 UTC) #55
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1203693003/460001
5 years, 5 months ago (2015-07-07 15:50:12 UTC) #58
commit-bot: I haz the power
Committed patchset #14 (id:460001)
5 years, 5 months ago (2015-07-07 16:51:19 UTC) #59
commit-bot: I haz the power
5 years, 5 months ago (2015-07-07 16:52:26 UTC) #60
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/f405d0e2e64c89ae9ce2f7d60360a5816942e4cd
Cr-Commit-Position: refs/heads/master@{#337621}

Powered by Google App Engine
This is Rietveld 408576698