|
|
Created:
4 years, 5 months ago by Eric Seckler Modified:
4 years, 2 months ago CC:
chromium-reviews, blink-reviews-platform-graphics_chromium.org, dshwang, eae+blinkwatch, rwlbuis, krit, drott+blinkwatch_chromium.org, szager+layoutwatch_chromium.org, Justin Novosad, Rik, jchaffraix+rendering, blink-reviews, ajuma+watch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, jbroman, pdr+graphicswatchlist_chromium.org, danakj+watch_chromium.org, pdr+renderingwatchlist_chromium.org, leviw+renderwatch, blink-layers+watch_chromium.org, f(malita) Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionUse scrollOrigin instead of minimumScrollPosition to calculate current
layer position in PaintLayerCompositor and GraphicsLayer.
It makes more sense to use the area's scrollOrigin() instead of the
minimumScrollPosition(), as the minimumScrollPosition may be
overridden by users of the area (see e.g.
https://codereview.chromium.org/2096633002/).
BUG=625084
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Committed: https://crrev.com/0ace38cb311d604745708c31284ba4ff291c4734
Cr-Commit-Position: refs/heads/master@{#421159}
Patch Set 1 #Patch Set 2 : rebase. #
Messages
Total messages: 35 (18 generated)
The CQ bit was checked by eseckler@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Description was changed from ========== Use scrollOrigin instead of minimumScrollPosition to calculate offset. Use scrollOrigin instead of minimumScrollPosition to calculate current offset position in PaintLayerCompositor and GraphicsLayer. BUG=625084 ========== to ========== Use scrollOrigin instead of minimumScrollPosition to calculate offset. Use scrollOrigin instead of minimumScrollPosition to calculate current offset position in PaintLayerCompositor and GraphicsLayer. It makes more sense to use the area's scrollOrigin() instead of the minimumScrollPosition(), as the minimumScrollPosition may be overridden by users of the area (see e.g. https://codereview.chromium.org/2096633002/). BUG=625084 ==========
eseckler@chromium.org changed reviewers: + bokan@chromium.org
Hi David, Looks like changing to scrollOrigin doesn't break anything here. With regards to blink::Scrollbar, which also uses min/max pos, it seems that it sets positions correctly according to https://cs.chromium.org/chromium/src/third_party/WebKit/Source/platform/scrol... (essentially scaling the thumb position between min and max). I'm not sure if it takes min/max into account for sizing/positioning the thumb, though. Not sure if we need to change anything there (.. or what our intended behavior would be in the context of overridden min/max). Thanks! Eric
Description was changed from ========== Use scrollOrigin instead of minimumScrollPosition to calculate offset. Use scrollOrigin instead of minimumScrollPosition to calculate current offset position in PaintLayerCompositor and GraphicsLayer. It makes more sense to use the area's scrollOrigin() instead of the minimumScrollPosition(), as the minimumScrollPosition may be overridden by users of the area (see e.g. https://codereview.chromium.org/2096633002/). BUG=625084 ========== to ========== Use scrollOrigin instead of minimumScrollPosition to calculate current layer position in PaintLayerCompositor and GraphicsLayer. It makes more sense to use the area's scrollOrigin() instead of the minimumScrollPosition(), as the minimumScrollPosition may be overridden by users of the area (see e.g. https://codereview.chromium.org/2096633002/). BUG=625084 ==========
this is lgtm, we can look at scrollbars if we need to later.
eseckler@chromium.org changed reviewers: + schenney@chromium.org
+schenney@ for platform/
While this is not blocking anything anymore (we went with a different approach for screenshotting that doesn't override minimumScrollPosition), should we still land this anyway for consistency with ScrollingCoordinator::scrollableAreaScrollLayerDidChange() ?
On 2016/09/22 13:51:42, Eric Seckler wrote: > While this is not blocking anything anymore (we went with a different approach > for screenshotting that doesn't override minimumScrollPosition), should we still > land this anyway for consistency with > ScrollingCoordinator::scrollableAreaScrollLayerDidChange() ? Seems good for consistency I think.
Yup, sgtm
Stephen, can you have a quick look at the GraphicsLayer change for owner approval? Thanks!
On 2016/09/23 09:28:11, Eric Seckler wrote: > Stephen, can you have a quick look at the GraphicsLayer change for owner > approval? Thanks! LGTM. Makes sense to me.
The CQ bit was checked by eseckler@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_...)
The CQ bit was checked by eseckler@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_...)
The CQ bit was checked by eseckler@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_...)
Description was changed from ========== Use scrollOrigin instead of minimumScrollPosition to calculate current layer position in PaintLayerCompositor and GraphicsLayer. It makes more sense to use the area's scrollOrigin() instead of the minimumScrollPosition(), as the minimumScrollPosition may be overridden by users of the area (see e.g. https://codereview.chromium.org/2096633002/). BUG=625084 ========== to ========== Use scrollOrigin instead of minimumScrollPosition to calculate current layer position in PaintLayerCompositor and GraphicsLayer. It makes more sense to use the area's scrollOrigin() instead of the minimumScrollPosition(), as the minimumScrollPosition may be overridden by users of the area (see e.g. https://codereview.chromium.org/2096633002/). BUG=625084 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ==========
The CQ bit was checked by eseckler@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from bokan@chromium.org, schenney@chromium.org Link to the patchset: https://codereview.chromium.org/2169483002/#ps20001 (title: "rebase.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== Use scrollOrigin instead of minimumScrollPosition to calculate current layer position in PaintLayerCompositor and GraphicsLayer. It makes more sense to use the area's scrollOrigin() instead of the minimumScrollPosition(), as the minimumScrollPosition may be overridden by users of the area (see e.g. https://codereview.chromium.org/2096633002/). BUG=625084 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ========== to ========== Use scrollOrigin instead of minimumScrollPosition to calculate current layer position in PaintLayerCompositor and GraphicsLayer. It makes more sense to use the area's scrollOrigin() instead of the minimumScrollPosition(), as the minimumScrollPosition may be overridden by users of the area (see e.g. https://codereview.chromium.org/2096633002/). BUG=625084 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/0ace38cb311d604745708c31284ba4ff291c4734 Cr-Commit-Position: refs/heads/master@{#421159} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/0ace38cb311d604745708c31284ba4ff291c4734 Cr-Commit-Position: refs/heads/master@{#421159} |