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

Issue 1467123003: Create base class for common functionality of Web{Local,Remote}Frame (Closed)

Created:
5 years ago by dcheng
Modified:
5 years ago
Reviewers:
haraken
CC:
dcheng, blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, dglazkov+blink, mlamouri+watch-blink_chromium.org, sigbjorn, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Create base class for common functionality of Web{Local,Remote}Frame This replaces the manual dispatch that emulates virtual calls today, and future patches will move more details of Oilpan tracing, etc. into this shared implementation base. BUG=none Committed: https://crrev.com/f0408c3aa2c878571a05e341363c5a0319959733 Cr-Commit-Position: refs/heads/master@{#361300}

Patch Set 1 #

Patch Set 2 : --no-find-copies #

Total comments: 5

Patch Set 3 : Trace base #

Patch Set 4 : Actually ref child WebLocalFrame #

Total comments: 12

Patch Set 5 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -81 lines) Patch
M third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp View 1 2 3 4 3 chunks +18 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/WebDOMMessageEvent.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebFrame.cpp View 8 chunks +15 lines, -26 lines 0 comments Download
A third_party/WebKit/Source/web/WebFrameImplBase.h View 1 2 3 4 1 chunk +43 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/web/WebFrameImplBase.cpp View 1 2 3 4 1 chunk +20 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.h View 5 chunks +8 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 2 3 8 chunks +15 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/web/WebRemoteFrameImpl.h View 3 chunks +13 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp View 1 2 5 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 2 chunks +2 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/web/tests/FrameTestHelpers.h View 3 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebFrameTest.cpp View 4 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/web/web.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebFrame.h View 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
dcheng
https://codereview.chromium.org/1467123003/diff/20001/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp File third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp (right): https://codereview.chromium.org/1467123003/diff/20001/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp#newcode115 third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp:115: return frame ? frame->toImplBase()->frame() : nullptr; Most locations that ...
5 years ago (2015-11-23 09:00:17 UTC) #2
haraken
LGTM https://codereview.chromium.org/1467123003/diff/60001/third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp File third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp (right): https://codereview.chromium.org/1467123003/diff/60001/third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp#newcode26 third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp:26: Frame* toCoreFrame(WebFrame* frame) toCoreFrameOrNull ? https://codereview.chromium.org/1467123003/diff/60001/third_party/WebKit/Source/web/WebFrame.cpp File third_party/WebKit/Source/web/WebFrame.cpp ...
5 years ago (2015-11-24 02:30:54 UTC) #3
dcheng
https://codereview.chromium.org/1467123003/diff/60001/third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp File third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp (right): https://codereview.chromium.org/1467123003/diff/60001/third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp#newcode26 third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp:26: Frame* toCoreFrame(WebFrame* frame) On 2015/11/24 at 02:30:53, haraken wrote: ...
5 years ago (2015-11-24 06:55:07 UTC) #4
haraken
https://codereview.chromium.org/1467123003/diff/60001/third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp File third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp (right): https://codereview.chromium.org/1467123003/diff/60001/third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp#newcode26 third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp:26: Frame* toCoreFrame(WebFrame* frame) On 2015/11/24 06:55:06, dcheng wrote: > ...
5 years ago (2015-11-24 07:00:34 UTC) #5
dcheng
https://codereview.chromium.org/1467123003/diff/60001/third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp File third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp (right): https://codereview.chromium.org/1467123003/diff/60001/third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp#newcode26 third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp:26: Frame* toCoreFrame(WebFrame* frame) On 2015/11/24 at 07:00:33, haraken wrote: ...
5 years ago (2015-11-24 07:50:24 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1467123003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1467123003/80001
5 years ago (2015-11-24 07:51:56 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years ago (2015-11-24 09:20:32 UTC) #10
commit-bot: I haz the power
5 years ago (2015-11-24 09:21:28 UTC) #11
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/f0408c3aa2c878571a05e341363c5a0319959733
Cr-Commit-Position: refs/heads/master@{#361300}

Powered by Google App Engine
This is Rietveld 408576698