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

Issue 815363003: FrameView now notifies ScrollCoorinator of changes in its scrollable area set (Closed)

Created:
5 years, 11 months ago by majidvp
Modified:
5 years, 11 months ago
CC:
blink-reviews, blink-layers+watch_chromium.org, kenneth.christiansen, skobes
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Update FrameView to notify the ScrollCoordinator of changes in its scrollable area set. This ensures that compositor becomes aware of any scrollable area changes even if they do not cause a re-layout e.g., a layer visibility changing from 'hidden' to 'visible'. Also added a new getter in |FrameView| for the |ScrollCoordinator| instance to clean up the code. BUG=434982 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=188391

Patch Set 1 #

Patch Set 2 : Remove extra line #

Total comments: 10

Patch Set 3 : Add test and address review feedback #

Patch Set 4 : rebase #

Patch Set 5 : Fix broken layouttest #

Patch Set 6 : Improve test #

Total comments: 10

Patch Set 7 : Address review feedback #

Total comments: 2

Patch Set 8 : s/is/has #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -30 lines) Patch
M LayoutTests/compositing/iframes/iframe-composited-scrolling-hide-and-show.html View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A LayoutTests/scrollingcoordinator/non-fast-scrollable-visibility-change.html View 1 2 3 4 5 6 7 1 chunk +104 lines, -0 lines 0 comments Download
A LayoutTests/scrollingcoordinator/non-fast-scrollable-visibility-change-expected.txt View 1 2 3 4 5 6 1 chunk +19 lines, -0 lines 0 comments Download
M Source/core/frame/FrameView.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M Source/core/frame/FrameView.cpp View 1 2 3 4 5 6 10 chunks +25 lines, -25 lines 0 comments Download
M Source/core/page/Page.cpp View 1 2 2 chunks +4 lines, -5 lines 0 comments Download
M Source/core/page/scrolling/ScrollingCoordinator.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/page/scrolling/ScrollingCoordinator.cpp View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (6 generated)
majidvp
+rybers@ for review.
5 years, 11 months ago (2015-01-07 16:58:39 UTC) #2
Rick Byers
Seems reasonable to me, thanks! We need a test though (I'm not sure offhand what ...
5 years, 11 months ago (2015-01-07 17:20:16 UTC) #3
Ian Vollick
I agree that we need a test. Is it possible to expose the scroll gesture ...
5 years, 11 months ago (2015-01-07 17:58:04 UTC) #5
skobes
https://codereview.chromium.org/815363003/diff/20001/Source/core/page/scrolling/ScrollingCoordinator.h File Source/core/page/scrolling/ScrollingCoordinator.h (right): https://codereview.chromium.org/815363003/diff/20001/Source/core/page/scrolling/ScrollingCoordinator.h#newcode70 Source/core/page/scrolling/ScrollingCoordinator.h:70: void scrollAreaSetDidChange(); "scroll area" is slightly confusing, suggest scrollableAreaSetDidChange ...
5 years, 11 months ago (2015-01-07 18:56:29 UTC) #7
majidvp
On 2015/01/07 17:58:04, vollick wrote: > I agree that we need a test. Is it ...
5 years, 11 months ago (2015-01-07 19:52:07 UTC) #8
majidvp
https://codereview.chromium.org/815363003/diff/20001/Source/core/frame/FrameView.cpp File Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/815363003/diff/20001/Source/core/frame/FrameView.cpp#newcode296 Source/core/frame/FrameView.cpp:296: if (scrollingCoordinator()) On 2015/01/07 17:20:16, Rick Byers wrote: > ...
5 years, 11 months ago (2015-01-07 19:52:28 UTC) #9
Ian Vollick
On 2015/01/07 19:52:07, majidvp wrote: > On 2015/01/07 17:58:04, vollick wrote: > > I agree ...
5 years, 11 months ago (2015-01-07 19:54:42 UTC) #10
Ian Vollick
https://codereview.chromium.org/815363003/diff/20001/Source/core/page/scrolling/ScrollingCoordinator.cpp File Source/core/page/scrolling/ScrollingCoordinator.cpp (right): https://codereview.chromium.org/815363003/diff/20001/Source/core/page/scrolling/ScrollingCoordinator.cpp#newcode123 Source/core/page/scrolling/ScrollingCoordinator.cpp:123: // Wait until after layout to update. On 2015/01/07 ...
5 years, 11 months ago (2015-01-07 19:56:23 UTC) #11
majidvp
On 2015/01/07 19:56:23, vollick wrote: > https://codereview.chromium.org/815363003/diff/20001/Source/core/page/scrolling/ScrollingCoordinator.cpp > File Source/core/page/scrolling/ScrollingCoordinator.cpp (right): > > https://codereview.chromium.org/815363003/diff/20001/Source/core/page/scrolling/ScrollingCoordinator.cpp#newcode123 > ...
5 years, 11 months ago (2015-01-12 16:28:13 UTC) #12
majidvp
https://codereview.chromium.org/815363003/diff/20001/Source/core/frame/FrameView.cpp File Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/815363003/diff/20001/Source/core/frame/FrameView.cpp#newcode296 Source/core/frame/FrameView.cpp:296: if (scrollingCoordinator()) On 2015/01/07 19:52:28, majidvp wrote: > On ...
5 years, 11 months ago (2015-01-12 16:28:27 UTC) #13
Rick Byers
Looks great, thanks! Just a couple minor comments. https://codereview.chromium.org/815363003/diff/100001/LayoutTests/scrollingcoordinator/non-fast-scrollable-visibility-change.html File LayoutTests/scrollingcoordinator/non-fast-scrollable-visibility-change.html (right): https://codereview.chromium.org/815363003/diff/100001/LayoutTests/scrollingcoordinator/non-fast-scrollable-visibility-change.html#newcode47 LayoutTests/scrollingcoordinator/non-fast-scrollable-visibility-change.html:47: '[8, ...
5 years, 11 months ago (2015-01-12 22:36:27 UTC) #14
majidvp
https://codereview.chromium.org/815363003/diff/100001/LayoutTests/scrollingcoordinator/non-fast-scrollable-visibility-change.html File LayoutTests/scrollingcoordinator/non-fast-scrollable-visibility-change.html (right): https://codereview.chromium.org/815363003/diff/100001/LayoutTests/scrollingcoordinator/non-fast-scrollable-visibility-change.html#newcode47 LayoutTests/scrollingcoordinator/non-fast-scrollable-visibility-change.html:47: '[8, 308, 250, 250]'); // second div On 2015/01/12 ...
5 years, 11 months ago (2015-01-13 16:01:57 UTC) #15
Rick Byers
LGTM with nit https://codereview.chromium.org/815363003/diff/120001/LayoutTests/scrollingcoordinator/non-fast-scrollable-visibility-change.html File LayoutTests/scrollingcoordinator/non-fast-scrollable-visibility-change.html (right): https://codereview.chromium.org/815363003/diff/120001/LayoutTests/scrollingcoordinator/non-fast-scrollable-visibility-change.html#newcode96 LayoutTests/scrollingcoordinator/non-fast-scrollable-visibility-change.html:96: // Waits for one RAF call ...
5 years, 11 months ago (2015-01-13 20:12:43 UTC) #16
majidvp
https://codereview.chromium.org/815363003/diff/120001/LayoutTests/scrollingcoordinator/non-fast-scrollable-visibility-change.html File LayoutTests/scrollingcoordinator/non-fast-scrollable-visibility-change.html (right): https://codereview.chromium.org/815363003/diff/120001/LayoutTests/scrollingcoordinator/non-fast-scrollable-visibility-change.html#newcode96 LayoutTests/scrollingcoordinator/non-fast-scrollable-visibility-change.html:96: // Waits for one RAF call to ensure compositing ...
5 years, 11 months ago (2015-01-13 20:40:09 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/815363003/140001
5 years, 11 months ago (2015-01-13 20:41:05 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/46031)
5 years, 11 months ago (2015-01-13 22:24:20 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/815363003/140001
5 years, 11 months ago (2015-01-14 16:02:49 UTC) #23
commit-bot: I haz the power
Committed patchset #8 (id:140001) as https://src.chromium.org/viewvc/blink?view=rev&revision=188391
5 years, 11 months ago (2015-01-14 16:03:38 UTC) #24
Daniel Bratell
5 years, 11 months ago (2015-01-22 13:55:07 UTC) #25
Message was sent while issue was closed.
Could this have caused the crash in
https://code.google.com/p/chromium/issues/detail?id=450279 ?

Powered by Google App Engine
This is Rietveld 408576698