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

Issue 30793002: cc: Do not allow gesture-scrolling 'overflow[-{x|y}]:hidden' layers. (Closed)

Created:
7 years, 2 months ago by sadrul
Modified:
7 years, 2 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

cc: Do not allow gesture-scrolling 'overflow[-{x|y}]:hidden' layers. BUG=175502 R=jamesr@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=230032

Patch Set 1 #

Total comments: 2

Patch Set 2 : unscrolled-fix #

Patch Set 3 : . #

Patch Set 4 : blink-test-api #

Patch Set 5 : test #

Total comments: 9

Patch Set 6 : . #

Patch Set 7 : . #

Patch Set 8 : needs-commit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -3 lines) Patch
M cc/layers/layer.h View 1 2 3 4 5 2 chunks +8 lines, -0 lines 0 comments Download
M cc/layers/layer.cc View 1 2 3 4 5 3 chunks +14 lines, -0 lines 0 comments Download
M cc/layers/layer_impl.h View 1 2 3 4 5 2 chunks +9 lines, -0 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 2 3 4 5 5 chunks +22 lines, -1 line 0 comments Download
M cc/layers/layer_impl_unittest.cc View 1 2 3 4 5 1 chunk +14 lines, -0 lines 0 comments Download
M cc/layers/layer_unittest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 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 1 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 5 6 1 chunk +55 lines, -0 lines 0 comments Download
M webkit/renderer/compositor_bindings/web_layer_impl.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/renderer/compositor_bindings/web_layer_impl.cc View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
sadrul
This fix is based on my understanding of https://code.google.com/p/chromium/issues/detail?id=175502#c23 This breaks a few tests, but ...
7 years, 2 months ago (2013-10-19 22:42:10 UTC) #1
danakj
https://codereview.chromium.org/30793002/diff/1/cc/layers/layer_impl.cc File cc/layers/layer_impl.cc (right): https://codereview.chromium.org/30793002/diff/1/cc/layers/layer_impl.cc#newcode345 cc/layers/layer_impl.cc:345: scroll.set_x(0.f); This would eat the whole scroll but not ...
7 years, 2 months ago (2013-10-21 15:14:42 UTC) #2
sadrul
https://codereview.chromium.org/30793002/diff/1/cc/layers/layer_impl.cc File cc/layers/layer_impl.cc (right): https://codereview.chromium.org/30793002/diff/1/cc/layers/layer_impl.cc#newcode345 cc/layers/layer_impl.cc:345: scroll.set_x(0.f); On 2013/10/21 15:14:42, danakj wrote: > This would ...
7 years, 2 months ago (2013-10-21 16:19:13 UTC) #3
jamesr1
I don't believe this is sufficient for custom styled scrollbars. You will need to pipe ...
7 years, 2 months ago (2013-10-21 16:36:42 UTC) #4
sadrul
On 2013/10/21 16:36:42, jamesr1 wrote: > I don't believe this is sufficient for custom styled ...
7 years, 2 months ago (2013-10-21 22:31:32 UTC) #5
danakj
https://codereview.chromium.org/30793002/diff/150001/cc/layers/layer.h File cc/layers/layer.h (right): https://codereview.chromium.org/30793002/diff/150001/cc/layers/layer.h#newcode256 cc/layers/layer.h:256: user_scrollable_vertical_ = vertical; This doesn't need to SetNeedsCommit()?
7 years, 2 months ago (2013-10-21 22:34:40 UTC) #6
jamesr
lgtm https://codereview.chromium.org/30793002/diff/150001/cc/layers/layer_impl.cc File cc/layers/layer_impl.cc (right): https://codereview.chromium.org/30793002/diff/150001/cc/layers/layer_impl.cc#newcode465 cc/layers/layer_impl.cc:465: return InputHandler::ScrollIgnored; nit: it'd be useful to TRACE_EVENT ...
7 years, 2 months ago (2013-10-21 22:36:34 UTC) #7
sadrul
https://codereview.chromium.org/30793002/diff/150001/cc/trees/layer_tree_host_impl_unittest.cc File cc/trees/layer_tree_host_impl_unittest.cc (right): https://codereview.chromium.org/30793002/diff/150001/cc/trees/layer_tree_host_impl_unittest.cc#newcode792 cc/trees/layer_tree_host_impl_unittest.cc:792: overflow->SetUserScrollable(false, true); On 2013/10/21 22:36:34, jamesr wrote: > callsites ...
7 years, 2 months ago (2013-10-21 22:39:03 UTC) #8
jamesr
On 2013/10/21 22:39:03, sadrul wrote: > https://codereview.chromium.org/30793002/diff/150001/cc/trees/layer_tree_host_impl_unittest.cc > File cc/trees/layer_tree_host_impl_unittest.cc (right): > > https://codereview.chromium.org/30793002/diff/150001/cc/trees/layer_tree_host_impl_unittest.cc#newcode792 > ...
7 years, 2 months ago (2013-10-21 22:42:49 UTC) #9
sadrul
https://codereview.chromium.org/30793002/diff/150001/cc/layers/layer.h File cc/layers/layer.h (right): https://codereview.chromium.org/30793002/diff/150001/cc/layers/layer.h#newcode256 cc/layers/layer.h:256: user_scrollable_vertical_ = vertical; On 2013/10/21 22:34:41, danakj wrote: > ...
7 years, 2 months ago (2013-10-21 23:11:16 UTC) #10
danakj
https://codereview.chromium.org/30793002/diff/150001/cc/layers/layer.h File cc/layers/layer.h (right): https://codereview.chromium.org/30793002/diff/150001/cc/layers/layer.h#newcode256 cc/layers/layer.h:256: user_scrollable_vertical_ = vertical; On 2013/10/21 23:11:17, sadrul wrote: > ...
7 years, 2 months ago (2013-10-21 23:30:09 UTC) #11
sadrul
https://codereview.chromium.org/30793002/diff/150001/cc/layers/layer.h File cc/layers/layer.h (right): https://codereview.chromium.org/30793002/diff/150001/cc/layers/layer.h#newcode256 cc/layers/layer.h:256: user_scrollable_vertical_ = vertical; On 2013/10/21 23:30:09, danakj wrote: > ...
7 years, 2 months ago (2013-10-21 23:33:22 UTC) #12
sadrul
7 years, 2 months ago (2013-10-22 03:36:47 UTC) #13
Message was sent while issue was closed.
Committed patchset #8 manually as r230032 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698