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

Issue 214953004: Enable Scroll Animation for RenderLayerScrollableArea (Closed)

Created:
6 years, 9 months ago by weiliangc
Modified:
6 years, 8 months ago
Reviewers:
ajuma, abarth-chromium
CC:
blink-reviews, rune+blink, shans, rjwright, alancutter (OOO until 2018), Mike Lawther (Google), dsinclair, zoltan1, eae+blinkwatch, leviw+renderwatch, blink-layers+watch_chromium.org, dstockwell, Timothy Loh, jchaffraix+rendering, darktears, bemjb+rendering_chromium.org, pdr., Steve Block, dino_apple.com, Eric Willigers, danakj, jamesr, Ian Vollick, wjmclean, DaveMoore, Scott Byer, Peter Kasting
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Enable Scroll Animation for RenderLayerScrollableArea In Blink, only FrameView scrollbars animation is enabled and serviced. This patch enables scroll animation for non-mainframe scrollbars ( RenderLayerScrollableArea) and service them. BUG=575, 299059, 307578, 359028 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172418

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : Add Layout test #

Total comments: 5

Patch Set 4 : correct Layout test #

Total comments: 2

Patch Set 5 : Edit according to comment #

Total comments: 4

Patch Set 6 : Add check for document to frame level not null #

Patch Set 7 : rebase #

Patch Set 8 : Add test expectation for Mac failure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -7 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
A LayoutTests/fast/scroll-behavior/sub-frame-scroll.html View 1 2 3 1 chunk +82 lines, -0 lines 0 comments Download
A LayoutTests/fast/scroll-behavior/sub-frame-scroll-expected.txt View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/page/PageAnimator.cpp View 1 2 3 4 5 1 chunk +17 lines, -7 lines 0 comments Download
M Source/core/rendering/RenderLayerScrollableArea.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderLayerScrollableArea.cpp View 1 2 3 4 5 6 2 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
weiliangc
6 years, 9 months ago (2014-03-27 18:17:53 UTC) #1
Peter Kasting
I'm not an appropriate reviewer here; I've never touched any of this code. Please find ...
6 years, 9 months ago (2014-03-27 21:00:10 UTC) #2
weiliangc
On 2014/03/27 21:00:10, Peter Kasting wrote: > I'm not an appropriate reviewer here; I've never ...
6 years, 9 months ago (2014-03-27 23:48:03 UTC) #3
abarth-chromium
Test?
6 years, 9 months ago (2014-03-28 00:03:03 UTC) #4
weiliangc
Add Layout test +ajuma
6 years, 8 months ago (2014-04-10 13:28:12 UTC) #5
abarth-chromium
https://codereview.chromium.org/214953004/diff/60001/Source/core/page/PageAnimator.cpp File Source/core/page/PageAnimator.cpp (right): https://codereview.chromium.org/214953004/diff/60001/Source/core/page/PageAnimator.cpp#newcode39 Source/core/page/PageAnimator.cpp:39: (*it)->serviceScrollAnimations(); Don't we need to collect up all the ...
6 years, 8 months ago (2014-04-10 21:05:33 UTC) #6
weiliangc
Found problem with current LayoutTest, WIP. https://codereview.chromium.org/214953004/diff/60001/Source/core/page/PageAnimator.cpp File Source/core/page/PageAnimator.cpp (left): https://codereview.chromium.org/214953004/diff/60001/Source/core/page/PageAnimator.cpp#oldcode38 Source/core/page/PageAnimator.cpp:38: Vector<RefPtr<Document> > documents; ...
6 years, 8 months ago (2014-04-10 21:26:38 UTC) #7
abarth-chromium
https://codereview.chromium.org/214953004/diff/60001/Source/core/page/PageAnimator.cpp File Source/core/page/PageAnimator.cpp (left): https://codereview.chromium.org/214953004/diff/60001/Source/core/page/PageAnimator.cpp#oldcode38 Source/core/page/PageAnimator.cpp:38: Vector<RefPtr<Document> > documents; On 2014/04/10 21:26:39, weiliangc wrote: > ...
6 years, 8 months ago (2014-04-10 22:21:32 UTC) #8
weiliangc
Added correct Layout test. PTAL. https://codereview.chromium.org/214953004/diff/60001/Source/core/page/PageAnimator.cpp File Source/core/page/PageAnimator.cpp (left): https://codereview.chromium.org/214953004/diff/60001/Source/core/page/PageAnimator.cpp#oldcode38 Source/core/page/PageAnimator.cpp:38: Vector<RefPtr<Document> > documents; On ...
6 years, 8 months ago (2014-04-14 17:12:38 UTC) #9
abarth-chromium
https://codereview.chromium.org/214953004/diff/80001/Source/core/page/PageAnimator.cpp File Source/core/page/PageAnimator.cpp (left): https://codereview.chromium.org/214953004/diff/80001/Source/core/page/PageAnimator.cpp#oldcode40 Source/core/page/PageAnimator.cpp:40: documents.append(frame->document()); Please just move this loop to the top ...
6 years, 8 months ago (2014-04-14 18:52:25 UTC) #10
abarth-chromium
https://codereview.chromium.org/214953004/diff/80001/Source/core/page/PageAnimator.cpp File Source/core/page/PageAnimator.cpp (left): https://codereview.chromium.org/214953004/diff/80001/Source/core/page/PageAnimator.cpp#oldcode40 Source/core/page/PageAnimator.cpp:40: documents.append(frame->document()); On 2014/04/14 18:52:25, abarth wrote: > Please just ...
6 years, 8 months ago (2014-04-14 18:52:57 UTC) #11
weiliangc
Update to move loop to beginning of function. https://codereview.chromium.org/214953004/diff/100001/Source/core/page/PageAnimator.cpp File Source/core/page/PageAnimator.cpp (right): https://codereview.chromium.org/214953004/diff/100001/Source/core/page/PageAnimator.cpp#newcode34 Source/core/page/PageAnimator.cpp:34: documents.append(frame->document()); ...
6 years, 8 months ago (2014-04-14 19:04:31 UTC) #12
abarth-chromium
https://codereview.chromium.org/214953004/diff/100001/Source/core/page/PageAnimator.cpp File Source/core/page/PageAnimator.cpp (right): https://codereview.chromium.org/214953004/diff/100001/Source/core/page/PageAnimator.cpp#newcode34 Source/core/page/PageAnimator.cpp:34: documents.append(frame->document()); On 2014/04/14 19:04:32, weiliangc wrote: > Like this? ...
6 years, 8 months ago (2014-04-14 20:15:34 UTC) #13
weiliangc
https://codereview.chromium.org/214953004/diff/100001/Source/core/page/PageAnimator.cpp File Source/core/page/PageAnimator.cpp (right): https://codereview.chromium.org/214953004/diff/100001/Source/core/page/PageAnimator.cpp#newcode36 Source/core/page/PageAnimator.cpp:36: for (RefPtr<LocalFrame> frame = m_page->mainFrame(); frame; frame = frame->tree().traverseNext()) ...
6 years, 8 months ago (2014-04-14 20:29:37 UTC) #14
abarth-chromium
On 2014/04/14 20:29:37, weiliangc wrote: > I need to use FrameViews. as long as document->frame() ...
6 years, 8 months ago (2014-04-14 20:36:35 UTC) #15
weiliangc
On 2014/04/14 20:36:35, abarth wrote: > On 2014/04/14 20:29:37, weiliangc wrote: > > I need ...
6 years, 8 months ago (2014-04-14 21:15:58 UTC) #16
abarth-chromium
Thanks! Sorry for having to go so many rounds. LGTM
6 years, 8 months ago (2014-04-14 21:28:26 UTC) #17
weiliangc
Add Layout test Failure expectation for Mac, PTAL. For Mac, whether smooth scrolling is turned ...
6 years, 8 months ago (2014-04-23 18:23:03 UTC) #18
abarth-chromium
On 2014/04/23 18:23:03, weiliangc wrote: > Also change in this patch should fix crash in ...
6 years, 8 months ago (2014-04-23 20:13:45 UTC) #19
abarth-chromium
lgtm
6 years, 8 months ago (2014-04-23 20:14:09 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/weiliangc@chromium.org/214953004/180001
6 years, 8 months ago (2014-04-23 20:14:35 UTC) #21
commit-bot: I haz the power
6 years, 8 months ago (2014-04-23 21:43:26 UTC) #22
Message was sent while issue was closed.
Change committed as 172418

Powered by Google App Engine
This is Rietveld 408576698