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

Issue 625073002: Merge RenderWidget into single subclass, RenderPart (Closed)

Created:
6 years, 2 months ago by Zeeshan Qureshi
Modified:
6 years, 2 months ago
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, rune+blink, zoltan1
Project:
blink
Visibility:
Public.

Description

Merge RenderWidget into single subclass, RenderPart The RenderWidget is an old abstraction that isn't needed any longer. We are down to a single subclass, RenderPart. This CL folds RenderWidget into RenderPart and updates its users. BUG=416436 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183568

Patch Set 1 #

Patch Set 2 : Fix compile error #

Patch Set 3 : Move style/layout/paint to RenderPart #

Patch Set 4 : Remove RenderWidget #

Patch Set 5 : Fix unit test failures #

Total comments: 29

Patch Set 6 : s/widget/part wherever it made sense #

Total comments: 4

Patch Set 7 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+446 lines, -541 lines) Patch
M LayoutTests/fast/events/touch/gesture/gesture-scroll-object-crash.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/events/touch/gesture/gesture-scroll-object-crash-expected.txt View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/forms/defer-updateFromElement.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/forms/defer-updateFromElement-expected.txt View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/plugins/destroy-reentry.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/accessibility/AXRenderObject.cpp View 1 2 3 4 5 3 chunks +5 lines, -5 lines 0 comments Download
M Source/core/core.gypi View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/dom/Document.cpp View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/dom/Element.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/FrameSelection.cpp View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/editing/TextIterator.cpp View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/frame/FrameView.h View 1 2 3 4 5 4 chunks +8 lines, -7 lines 0 comments Download
M Source/core/frame/FrameView.cpp View 1 2 3 4 5 6 chunks +18 lines, -19 lines 0 comments Download
M Source/core/html/HTMLAppletElement.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/html/HTMLAppletElement.cpp View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/html/HTMLEmbedElement.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLEmbedElement.cpp View 1 2 3 4 5 6 2 chunks +6 lines, -6 lines 0 comments Download
M Source/core/html/HTMLFrameOwnerElement.cpp View 1 2 3 4 5 1 chunk +7 lines, -7 lines 0 comments Download
M Source/core/html/HTMLObjectElement.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLObjectElement.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLPlugInElement.h View 1 2 3 4 5 4 chunks +6 lines, -6 lines 0 comments Download
M Source/core/html/HTMLPlugInElement.cpp View 1 2 3 4 5 7 chunks +12 lines, -12 lines 0 comments Download
M Source/core/inspector/InspectorLayerTreeAgent.cpp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/page/EventHandler.cpp View 1 2 3 4 5 5 chunks +8 lines, -8 lines 0 comments Download
M Source/core/rendering/HitTestResult.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/PaintInfo.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderEmbeddedObject.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderMeter.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/rendering/RenderObject.h View 1 2 3 4 5 6 2 chunks +1 line, -2 lines 0 comments Download
M Source/core/rendering/RenderPart.h View 1 2 3 4 5 2 chunks +36 lines, -5 lines 0 comments Download
M Source/core/rendering/RenderPart.cpp View 1 2 3 4 5 5 chunks +283 lines, -7 lines 0 comments Download
M Source/core/rendering/RenderTreeAsText.cpp View 1 2 3 4 5 2 chunks +2 lines, -3 lines 0 comments Download
D Source/core/rendering/RenderWidget.h View 1 2 3 4 5 1 chunk +0 lines, -72 lines 0 comments Download
D Source/core/rendering/RenderWidget.cpp View 1 2 3 4 5 1 chunk +0 lines, -325 lines 0 comments Download
M Source/web/ChromeClientImpl.cpp View 1 2 3 4 5 2 chunks +2 lines, -3 lines 0 comments Download
M Source/web/ContextMenuClientImpl.cpp View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
M Source/web/WebNode.cpp View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
M Source/web/WebViewImpl.cpp View 1 2 3 4 5 3 chunks +4 lines, -4 lines 0 comments Download
M Source/web/tests/ScrollingCoordinatorChromiumTest.cpp View 1 2 3 4 5 3 chunks +13 lines, -13 lines 0 comments Download
M Source/web/tests/WebFrameTest.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (7 generated)
Zeeshan Qureshi
Dan / Julien PTAL.
6 years, 2 months ago (2014-10-07 01:03:32 UTC) #3
dsinclair
This is looking pretty good so far. Few small things below. https://codereview.chromium.org/625073002/diff/100001/Source/core/frame/FrameView.h File Source/core/frame/FrameView.h (right): ...
6 years, 2 months ago (2014-10-07 14:15:12 UTC) #4
Julien - ping for review
https://codereview.chromium.org/625073002/diff/100001/Source/core/frame/FrameView.h File Source/core/frame/FrameView.h (right): https://codereview.chromium.org/625073002/diff/100001/Source/core/frame/FrameView.h#newcode200 Source/core/frame/FrameView.h:200: void updateWidgetPositions(); On 2014/10/07 at 14:15:12, dsinclair wrote: > ...
6 years, 2 months ago (2014-10-07 17:53:23 UTC) #5
Zeeshan Qureshi
Thanks Julien / Dan, I've updated the references wherever it seemed reasonable. Still going through ...
6 years, 2 months ago (2014-10-10 19:32:39 UTC) #6
dsinclair
A couple small issues, but other then those lgtm. https://codereview.chromium.org/625073002/diff/120001/Source/core/html/HTMLEmbedElement.cpp File Source/core/html/HTMLEmbedElement.cpp (right): https://codereview.chromium.org/625073002/diff/120001/Source/core/html/HTMLEmbedElement.cpp#newcode55 Source/core/html/HTMLEmbedElement.cpp:55: ...
6 years, 2 months ago (2014-10-10 19:50:39 UTC) #7
Zeeshan Qureshi
+aelias for Source/web OWNERS https://codereview.chromium.org/625073002/diff/120001/Source/core/html/HTMLEmbedElement.cpp File Source/core/html/HTMLEmbedElement.cpp (right): https://codereview.chromium.org/625073002/diff/120001/Source/core/html/HTMLEmbedElement.cpp#newcode55 Source/core/html/HTMLEmbedElement.cpp:55: static inline RenderPart* findWidgetRenderer(const Node* ...
6 years, 2 months ago (2014-10-10 20:24:23 UTC) #9
aelias_OOO_until_Jul13
Source/web lgtm
6 years, 2 months ago (2014-10-10 20:41:21 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/625073002/430001
6 years, 2 months ago (2014-10-10 22:16:49 UTC) #15
commit-bot: I haz the power
6 years, 2 months ago (2014-10-10 23:24:44 UTC) #16
Message was sent while issue was closed.
Committed patchset #7 (id:430001) as 183568

Powered by Google App Engine
This is Rietveld 408576698