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

Issue 2644243002: Move ScrollableArea timer to TaskRunnerTimer. (Closed)

Created:
3 years, 11 months ago by jbroman
Modified:
3 years, 11 months ago
Reviewers:
haraken, skobes
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, kinuko+watch
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move ScrollableArea timer to TaskRunnerTimer. Choice of task runner is delegated to the subclass, which may know about a frame-specific timer task runner. BUG=624694 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2644243002 Cr-Commit-Position: refs/heads/master@{#445084} Committed: https://chromium.googlesource.com/chromium/src/+/cd5c59cdcc860f2b31f4dea6fd17790559ffb615

Patch Set 1 #

Total comments: 6

Patch Set 2 : make getTimerTaskRunner pure virtual, and add implementations to all derived classes #

Patch Set 3 : use derived class in unique_ptr #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -1 line) Patch
M third_party/WebKit/Source/core/frame/FrameView.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/RootFrameViewport.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/RootFrameViewport.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/RootFrameViewportTest.cpp View 1 2 chunks +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/VisualViewport.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/VisualViewport.cpp View 1 2 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp View 2 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp View 1 2 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp View 1 2 chunks +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollableArea.h View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarTestSuite.h View 1 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (16 generated)
jbroman
3 years, 11 months ago (2017-01-20 01:49:40 UTC) #5
jbroman
(cc haraken, in case he feels a different TaskType is appropriate here)
3 years, 11 months ago (2017-01-20 02:47:46 UTC) #8
skobes
lgtm w/ question https://codereview.chromium.org/2644243002/diff/1/third_party/WebKit/Source/core/frame/RootFrameViewport.h File third_party/WebKit/Source/core/frame/RootFrameViewport.h (right): https://codereview.chromium.org/2644243002/diff/1/third_party/WebKit/Source/core/frame/RootFrameViewport.h#newcode109 third_party/WebKit/Source/core/frame/RootFrameViewport.h:109: RefPtr<WebTaskRunner> getTimerTaskRunner() const final; Should we ...
3 years, 11 months ago (2017-01-20 05:15:38 UTC) #9
haraken
https://codereview.chromium.org/2644243002/diff/1/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp File third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp (right): https://codereview.chromium.org/2644243002/diff/1/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp#newcode664 third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp:664: RefPtr<WebTaskRunner> ScrollableArea::getTimerTaskRunner() const { I'd prefer making this a ...
3 years, 11 months ago (2017-01-20 05:45:52 UTC) #11
jbroman
https://codereview.chromium.org/2644243002/diff/1/third_party/WebKit/Source/core/frame/RootFrameViewport.h File third_party/WebKit/Source/core/frame/RootFrameViewport.h (right): https://codereview.chromium.org/2644243002/diff/1/third_party/WebKit/Source/core/frame/RootFrameViewport.h#newcode109 third_party/WebKit/Source/core/frame/RootFrameViewport.h:109: RefPtr<WebTaskRunner> getTimerTaskRunner() const final; On 2017/01/20 at 05:15:38, skobes ...
3 years, 11 months ago (2017-01-20 15:55:17 UTC) #16
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/2644243002/40001
3 years, 11 months ago (2017-01-20 16:00:26 UTC) #20
haraken
LGTM
3 years, 11 months ago (2017-01-20 16:18:29 UTC) #21
commit-bot: I haz the power
3 years, 11 months ago (2017-01-20 17:28:18 UTC) #24
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/cd5c59cdcc860f2b31f4dea6fd17...

Powered by Google App Engine
This is Rietveld 408576698