|
|
Remove ScrollableArea::GetFrameViewBase and move
ScrollableArea::ScheduleAnimation into subclasses.
This is part of an overall effort to remove the FrameViewBase
(old Widget) class. This change helps to remove an unneeded reference.
ScrollableArea implemented ScheduleAnimation by defining GetFrameViewBase
that subclasses could implement. The alternative implementation is
for subclasses to implement ScheduleAnimation and then there is no need
for the awkward reference to FrameViewBase.
I have added ScheduleAnimation into LocalFrame which is the core class
required by HostWindow/ChromeClientImpl. All subclasses of ScrollableArea
now implement ScheduleAnimation by calling it on their local reference to
LocalFrame.
BUG= 637460
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url: https://codereview.chromium.org/2826893003
Cr-Commit-Position: refs/heads/master@{#465546}
Committed: https://chromium.googlesource.com/chromium/src/+/c00bae0bd50204fc323a37c28f9e77b39c8dc376
Total comments: 14
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+46 lines, -49 lines) |
Patch |
 |
M |
third_party/WebKit/Source/core/frame/FrameView.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/frame/FrameView.cpp
|
View
|
|
2 chunks |
+4 lines, -4 lines |
2 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/frame/FrameViewTest.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
2 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/frame/LocalFrame.h
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
View
|
|
2 chunks |
+9 lines, -0 lines |
6 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/frame/RootFrameViewport.h
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/frame/RootFrameViewport.cpp
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/frame/VisualViewport.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/frame/VisualViewport.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/loader/EmptyClients.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/page/AutoscrollController.cpp
|
View
|
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/page/PageAnimator.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/HostWindow.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
2 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/scroll/ScrollableArea.h
|
View
|
1
2
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/ChromeClientImpl.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
View
|
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/InspectorOverlay.cpp
|
View
|
1
|
2 chunks |
+7 lines, -5 lines |
2 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebPagePopupImpl.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 31 (22 generated)
|