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

Issue 1223713004: Cleanup viewport scrolling for future scroll customization work. (Closed)

Created:
5 years, 5 months ago by tdresser
Modified:
5 years, 5 months ago
Reviewers:
Ian Vollick, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cleanup viewport scrolling for future scroll customization work. Viewport scrolling previously returned a struct of information about what scrolled. This complicated scroll customization. This patch makes |Viewport::ScrollBy| return a single |Vector2dF|, as well as performing some other cleanup that will simplify scroll customization. BUG=505851 TEST=LayerTreeHostImplTest, WebContentsViewAuraTest.VerticalOverscroll CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/3e773d7aeba1eb0077a7907d0f5ff2e72e1c6753 Cr-Commit-Position: refs/heads/master@{#337694}

Patch Set 1 #

Patch Set 2 : Fix value of report_overscroll_only_for_scrollable_axes on Aura. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -74 lines) Patch
M cc/layers/viewport.h View 2 chunks +4 lines, -10 lines 0 comments Download
M cc/layers/viewport.cc View 1 chunk +18 lines, -28 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 4 chunks +25 lines, -34 lines 2 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 1 chunk +2 lines, -0 lines 1 comment Download

Messages

Total messages: 13 (3 generated)
tdresser
Let me know if there's a better reviewer for this change. Scroll customization relies on ...
5 years, 5 months ago (2015-07-06 15:22:44 UTC) #2
Ian Vollick
https://codereview.chromium.org/1223713004/diff/20001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/1223713004/diff/20001/cc/trees/layer_tree_host_impl.cc#newcode2621 cc/trees/layer_tree_host_impl.cc:2621: if (is_direct_manipulation) It looks like there's a real behavior ...
5 years, 5 months ago (2015-07-06 15:33:16 UTC) #3
tdresser
https://codereview.chromium.org/1223713004/diff/20001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/1223713004/diff/20001/cc/trees/layer_tree_host_impl.cc#newcode2621 cc/trees/layer_tree_host_impl.cc:2621: if (is_direct_manipulation) On 2015/07/06 15:33:16, vollick wrote: > It ...
5 years, 5 months ago (2015-07-06 15:39:29 UTC) #4
Ian Vollick
On 2015/07/06 15:39:29, tdresser wrote: > https://codereview.chromium.org/1223713004/diff/20001/cc/trees/layer_tree_host_impl.cc > File cc/trees/layer_tree_host_impl.cc (right): > > https://codereview.chromium.org/1223713004/diff/20001/cc/trees/layer_tree_host_impl.cc#newcode2621 > ...
5 years, 5 months ago (2015-07-06 17:11:12 UTC) #5
tdresser
enne@, can you take a look at content/renderer/gpu/render_widget_compositor.cc?
5 years, 5 months ago (2015-07-06 17:22:45 UTC) #7
enne (OOO)
lgtm
5 years, 5 months ago (2015-07-07 20:42:50 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1223713004/20001
5 years, 5 months ago (2015-07-07 20:44:47 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 5 months ago (2015-07-07 22:16:21 UTC) #11
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/3e773d7aeba1eb0077a7907d0f5ff2e72e1c6753 Cr-Commit-Position: refs/heads/master@{#337694}
5 years, 5 months ago (2015-07-07 22:17:14 UTC) #12
tdresser
5 years, 5 months ago (2015-07-09 17:18:17 UTC) #13
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/1227823005/ by tdresser@chromium.org.

The reason for reverting is: See crbug.com/508509.

We need to fix this case before relanding..

Powered by Google App Engine
This is Rietveld 408576698