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

Issue 2845583002: Remove FrameViewBase as base class of RemoteFrameView. (Closed)

Created:
3 years, 7 months ago by joelhockey
Modified:
3 years, 7 months ago
Reviewers:
haraken, szager1, dcheng
CC:
blink-reviews, blink-reviews-frames_chromium.org, blink-reviews-html_chromium.org, blink-reviews-layout_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove FrameViewBase as base class of RemoteFrameView. FrameView now holds separate children for Scrollbars, and a combined FrameOrPlugin set of children which includes FrameView, PluginView, and RemoteFrameView. HTMLFrameOwnerElement::widget_ is of type FrameOrPlugin and holds either FrameView, PluginView, or RemoteFrameView. I have pulled the plugin back from HTMLPlugInObject to be in a single field which simplifies the code overall. BUG=637460 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2845583002 Cr-Commit-Position: refs/heads/master@{#471225} Committed: https://chromium.googlesource.com/chromium/src/+/0f82aa916a39eb944f388c1ae27435036cade852

Patch Set 1 #

Patch Set 2 : Unify FrameView, RemoteFrameView and PluginView as FrameView children and widgets #

Patch Set 3 : fix scrollbar inactive #

Patch Set 4 : fix scrollbar inactive #

Total comments: 19

Patch Set 5 : merge #

Total comments: 7

Patch Set 6 : remove method renames #

Patch Set 7 : fix mac #

Patch Set 8 : ConvertSelfToChild take FrameOrPlugin as arg #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+194 lines, -316 lines) Patch
M third_party/WebKit/Source/core/frame/FrameOrPlugin.h View 1 2 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.h View 1 2 3 4 5 6 7 8 chunks +16 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 3 4 5 6 7 24 chunks +36 lines, -69 lines 0 comments Download
M third_party/WebKit/Source/core/frame/RemoteFrameView.h View 1 2 3 4 5 6 chunks +4 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/core/frame/RemoteFrameView.cpp View 1 2 3 4 5 6 7 2 chunks +9 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h View 1 3 chunks +4 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp View 1 10 chunks +49 lines, -58 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLPlugInElement.h View 1 2 3 4 5 3 chunks +10 lines, -13 lines 1 comment Download
M third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp View 1 2 3 4 5 10 chunks +23 lines, -65 lines 0 comments Download
M third_party/WebKit/Source/core/html/PluginDocument.h View 1 3 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/html/PluginDocument.cpp View 1 3 chunks +3 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutPart.cpp View 1 2 3 4 2 chunks +13 lines, -28 lines 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp View 1 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/plugins/PluginView.h View 1 2 3 4 5 2 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/FrameViewBase.h View 1 2 3 4 5 2 chunks +2 lines, -21 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 71 (47 generated)
joelhockey
Previously where FrameViewBase was used for polymorphism between FrameView, RemoteFrameView and PluginView, now each of ...
3 years, 7 months ago (2017-04-26 13:26:08 UTC) #6
dcheng
On 2017/04/26 13:26:08, joelhockey wrote: > Previously where FrameViewBase was used for polymorphism between FrameView, ...
3 years, 7 months ago (2017-04-26 13:31:22 UTC) #8
szager1
On 2017/04/26 13:31:22, dcheng (OOO through May 2) wrote: > On 2017/04/26 13:26:08, joelhockey wrote: ...
3 years, 7 months ago (2017-04-26 16:15:54 UTC) #9
szager1
> And just my $.02 -- I'd prefer not to rename things to *LayoutController. It's ...
3 years, 7 months ago (2017-04-26 16:16:18 UTC) #10
haraken
Just to clarify, regarding replacing the parent_ fields of LocalFrameView/RemoteFrameView with the Frame tree, I'm ...
3 years, 7 months ago (2017-04-27 01:11:00 UTC) #11
joelhockey
Thanks for the review dcheng@, szager@ and haraken@. This CL is still primarily about removing ...
3 years, 7 months ago (2017-04-28 09:33:45 UTC) #14
haraken
On 2017/04/28 09:33:45, joelhockey wrote: > Thanks for the review dcheng@, szager@ and haraken@. > ...
3 years, 7 months ago (2017-04-28 10:34:25 UTC) #17
szager1
Do you have a design doc or diagram anywhere that shows the intended class hierarchy ...
3 years, 7 months ago (2017-04-28 11:10:01 UTC) #18
joelhockey
On 2017/04/28 at 11:10:01, szager wrote: > Do you have a design doc or diagram ...
3 years, 7 months ago (2017-04-28 12:27:18 UTC) #21
joelhockey
> Sorry, I don't have a design doc or diagram. I just thought to mention ...
3 years, 7 months ago (2017-04-28 12:44:32 UTC) #22
joelhockey
Maybe these comments are helpful when reviewing. https://codereview.chromium.org/2845583002/diff/60001/third_party/WebKit/Source/core/frame/FrameOrPlugin.h File third_party/WebKit/Source/core/frame/FrameOrPlugin.h (right): https://codereview.chromium.org/2845583002/diff/60001/third_party/WebKit/Source/core/frame/FrameOrPlugin.h#newcode20 third_party/WebKit/Source/core/frame/FrameOrPlugin.h:20: class CORE_EXPORT ...
3 years, 7 months ago (2017-05-01 23:04:35 UTC) #28
dcheng
Sorry for the extreme latency. I'm fine with the general direction of this CL https://codereview.chromium.org/2845583002/diff/60001/third_party/WebKit/Source/core/frame/FrameView.h ...
3 years, 7 months ago (2017-05-09 07:50:51 UTC) #33
joelhockey
https://codereview.chromium.org/2845583002/diff/60001/third_party/WebKit/Source/core/frame/FrameView.h File third_party/WebKit/Source/core/frame/FrameView.h (right): https://codereview.chromium.org/2845583002/diff/60001/third_party/WebKit/Source/core/frame/FrameView.h#newcode650 third_party/WebKit/Source/core/frame/FrameView.h:650: IntPoint ConvertSelfToChild(const IntPoint&, const IntPoint&) const; On 2017/05/09 at ...
3 years, 7 months ago (2017-05-10 02:35:43 UTC) #34
dcheng
https://codereview.chromium.org/2845583002/diff/60001/third_party/WebKit/Source/core/frame/FrameView.h File third_party/WebKit/Source/core/frame/FrameView.h (right): https://codereview.chromium.org/2845583002/diff/60001/third_party/WebKit/Source/core/frame/FrameView.h#newcode650 third_party/WebKit/Source/core/frame/FrameView.h:650: IntPoint ConvertSelfToChild(const IntPoint&, const IntPoint&) const; On 2017/05/10 02:35:43, ...
3 years, 7 months ago (2017-05-10 07:08:28 UTC) #43
joelhockey
https://codereview.chromium.org/2845583002/diff/60001/third_party/WebKit/Source/core/frame/FrameView.h File third_party/WebKit/Source/core/frame/FrameView.h (right): https://codereview.chromium.org/2845583002/diff/60001/third_party/WebKit/Source/core/frame/FrameView.h#newcode650 third_party/WebKit/Source/core/frame/FrameView.h:650: IntPoint ConvertSelfToChild(const IntPoint&, const IntPoint&) const; On 2017/05/10 at ...
3 years, 7 months ago (2017-05-10 09:40:46 UTC) #44
szager1
https://codereview.chromium.org/2845583002/diff/60001/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h File third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h (right): https://codereview.chromium.org/2845583002/diff/60001/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h#newcode64 third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h:64: void SetWidget(FrameOrPlugin*); On 2017/05/10 02:35:43, joelhockey wrote: > > ...
3 years, 7 months ago (2017-05-10 09:41:04 UTC) #46
dcheng
LGTM
3 years, 7 months ago (2017-05-11 21:57:12 UTC) #58
joelhockey
3 years, 7 months ago (2017-05-11 23:34:11 UTC) #59
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/2845583002/140001
3 years, 7 months ago (2017-05-11 23:34:55 UTC) #61
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/434777)
3 years, 7 months ago (2017-05-12 00:04:43 UTC) #63
joelhockey
haraken@, ptal. I need owners approval for platform.
3 years, 7 months ago (2017-05-12 04:13:16 UTC) #64
haraken
Sorry about the review delay. I'm catching up with things... LGTM. https://codereview.chromium.org/2845583002/diff/140001/third_party/WebKit/Source/core/html/HTMLPlugInElement.h File third_party/WebKit/Source/core/html/HTMLPlugInElement.h (right): ...
3 years, 7 months ago (2017-05-12 04:23:42 UTC) #65
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/2845583002/140001
3 years, 7 months ago (2017-05-12 04:40:26 UTC) #67
commit-bot: I haz the power
3 years, 7 months ago (2017-05-12 04:45:55 UTC) #71
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/0f82aa916a39eb944f388c1ae274...

Powered by Google App Engine
This is Rietveld 408576698