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

Issue 2838513003: ScrollAnimatorMac should post contentAreaScrolled only for explicit scrolls. (Closed)

Created:
3 years, 8 months ago by skobes
Modified:
3 years, 8 months ago
Reviewers:
bokan, pdr.
CC:
chromium-reviews, shans, rjwright, blink-reviews-animation_chromium.org, mac-reviews_chromium.org, darktears, blink-reviews, blink-reviews-frames_chromium.org, kinuko+watch, Eric Willigers, aelias_OOO_until_Jul13
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

ScrollAnimatorMac should post contentAreaScrolled only for explicit scrolls. This is the equivalent of http://crrev.com/2835403002 for the Mac-specific scrollbar opacity plumbing. BUG=606395 Review-Url: https://codereview.chromium.org/2838513003 Cr-Commit-Position: refs/heads/master@{#467553} Committed: https://chromium.googlesource.com/chromium/src/+/e18c551a2e12066dc4a8b0cb026774b824434eff

Patch Set 1 #

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -10 lines) Patch
M third_party/WebKit/Source/core/frame/FrameView.cpp View 2 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm View 2 chunks +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp View 1 chunk +4 lines, -3 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 33 (18 generated)
skobes
3 years, 8 months ago (2017-04-25 20:34:54 UTC) #8
bokan
This will prevent showing scrollbars on resize, right? Other Mac apps do show scrollbars when ...
3 years, 8 months ago (2017-04-25 23:27:38 UTC) #11
skobes
On 2017/04/25 23:27:38, bokan wrote: > This will prevent showing scrollbars on resize, right? Other ...
3 years, 8 months ago (2017-04-26 01:34:35 UTC) #12
bokan
ah, lgtm in that case.
3 years, 8 months ago (2017-04-26 11:43:31 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2838513003/20001
3 years, 8 months ago (2017-04-26 15:56:17 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/420908)
3 years, 8 months ago (2017-04-26 16:04:46 UTC) #17
skobes
(Waiting on pdr for Source/platform OWNERS.)
3 years, 8 months ago (2017-04-26 20:16:31 UTC) #18
pdr.
On 2017/04/26 at 20:16:31, skobes wrote: > (Waiting on pdr for Source/platform OWNERS.) LGTM
3 years, 8 months ago (2017-04-26 20:27:45 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2838513003/20001
3 years, 8 months ago (2017-04-26 20:41:41 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/439824)
3 years, 8 months ago (2017-04-26 22:43:53 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2838513003/20001
3 years, 8 months ago (2017-04-26 23:10:27 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/440123)
3 years, 8 months ago (2017-04-27 01:21:23 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2838513003/20001
3 years, 8 months ago (2017-04-27 01:33:32 UTC) #29
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/e18c551a2e12066dc4a8b0cb026774b824434eff
3 years, 8 months ago (2017-04-27 02:27:38 UTC) #32
skobes
3 years, 8 months ago (2017-04-27 03:50:33 UTC) #33
Message was sent while issue was closed.
On 2017/04/26 01:34:35, skobes wrote:
> Note that this prevents showing on content area resizes, but still shows on
> scroller frame resizes (FrameView::ViewportSizeChanged /
> PLSA::VisibleSizeChanged).  So it's pretty hard to notice this as a UI
> inconsistency, and I think is outweighed by the benefits of less scrollbar
> flashing.

Disregard this, I was mixing up Mac and Aura.

It looks like Chrome on Mac has never shown scrollbars on content resize OR
visible resize.  Safari shows scrollbars for main-frame resize, but not for
content resize or resize of any non-main-frame scroller.  Not sure about
Firefox.

I made a page to test it with: https://output.jsbin.com/jigoyuz

I think we should change Mac to show on all visible-size changes, this would
align with Aura, and with Safari for window resizing.

Powered by Google App Engine
This is Rietveld 408576698