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

Issue 638003004: Introduce WebFrameWidget to Blink (Closed)

Created:
6 years, 2 months ago by kenrb
Modified:
5 years, 11 months ago
CC:
dcheng, blink-reviews, bokan, dglazkov+blink, jamesr, mkwst+moarreviews_chromium.org, mlamouri (slow - plz ping), site-isolation-reviews_chromium.org
Target Ref:
refs/remotes/origin/master
Project:
blink
Visibility:
Public.

Description

Introduce WebFrameWidget to Blink To support out-of-process iframes, there is a need to associate multiple WebWidgets with a single frame tree in a process. This means that the WebViewImpl cannot be used as the WebWidget. This CL creates a WebFrameWidget that can be associated with a WebFrame that is the root of a local frame tree. The goal is to eventually have this entirely replace the WebWidget implementation in WebViewImpl. BUG=419087 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=187874

Patch Set 1 #

Patch Set 2 : Bug fixes #

Patch Set 3 : Rebased, cleaned up some #

Total comments: 32

Patch Set 4 : Review comments addressed #

Patch Set 5 : More review updates #

Total comments: 17

Patch Set 6 : Rebase #

Patch Set 7 : WebFrameWidget to take a WebLocalFrame on creation #

Total comments: 18

Patch Set 8 : More comments addressed #

Total comments: 11

Patch Set 9 : Moar review comments addressed #

Total comments: 2

Patch Set 10 : Style #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1270 lines, -11 lines) Patch
M Source/web/ChromeClientImpl.cpp View 1 2 3 4 5 6 7 8 9 4 chunks +24 lines, -5 lines 0 comments Download
A Source/web/WebFrameWidgetImpl.h View 1 2 3 4 5 6 7 8 1 chunk +210 lines, -0 lines 0 comments Download
A Source/web/WebFrameWidgetImpl.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +1007 lines, -0 lines 0 comments Download
M Source/web/WebLocalFrameImpl.h View 1 2 3 4 5 6 7 8 9 3 chunks +7 lines, -0 lines 0 comments Download
M Source/web/WebLocalFrameImpl.cpp View 1 2 3 4 5 6 7 8 9 2 chunks +11 lines, -0 lines 0 comments Download
M Source/web/WebViewImpl.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M Source/web/web.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
A + public/web/WebFrameWidget.h View 1 2 3 4 5 6 2 chunks +7 lines, -6 lines 0 comments Download

Messages

Total messages: 28 (5 generated)
kenrb
Test not up yet, but PTAL? There is a fair bit of code here that ...
6 years ago (2014-12-10 18:51:24 UTC) #3
Nate Chapin
https://codereview.chromium.org/638003004/diff/40001/Source/web/ChromeClientImpl.cpp File Source/web/ChromeClientImpl.cpp (right): https://codereview.chromium.org/638003004/diff/40001/Source/web/ChromeClientImpl.cpp#newcode498 Source/web/ChromeClientImpl.cpp:498: if (!WebLocalFrameImpl::fromFrame(localRoot)->frameWidget()) { Style nit: {} not necessary on ...
6 years ago (2014-12-10 19:19:03 UTC) #4
kenrb
https://codereview.chromium.org/638003004/diff/40001/Source/web/WebFrameWidgetImpl.h File Source/web/WebFrameWidgetImpl.h (right): https://codereview.chromium.org/638003004/diff/40001/Source/web/WebFrameWidgetImpl.h#newcode1 Source/web/WebFrameWidgetImpl.h:1: /* On 2014/12/10 19:19:03, Nate Chapin wrote: > It ...
6 years ago (2014-12-10 19:59:27 UTC) #5
Nate Chapin
On 2014/12/10 19:59:27, kenrb wrote: > https://codereview.chromium.org/638003004/diff/40001/Source/web/WebFrameWidgetImpl.h > File Source/web/WebFrameWidgetImpl.h (right): > > https://codereview.chromium.org/638003004/diff/40001/Source/web/WebFrameWidgetImpl.h#newcode1 > ...
6 years ago (2014-12-10 20:04:17 UTC) #6
kenrb
On 2014/12/10 20:04:17, Nate Chapin wrote: > On 2014/12/10 19:59:27, kenrb wrote: > > > ...
6 years ago (2014-12-10 20:13:16 UTC) #7
ncarter (slow)
https://codereview.chromium.org/638003004/diff/40001/Source/web/ChromeClientImpl.cpp File Source/web/ChromeClientImpl.cpp (right): https://codereview.chromium.org/638003004/diff/40001/Source/web/ChromeClientImpl.cpp#newcode710 Source/web/ChromeClientImpl.cpp:710: ASSERT(webFrame && webFrame->frameWidget()); After patching in this change, this ...
6 years ago (2014-12-10 20:16:07 UTC) #9
dcheng
This is a pretty big patch, but some quick thoughts. https://codereview.chromium.org/638003004/diff/40001/Source/web/ChromeClientImpl.cpp File Source/web/ChromeClientImpl.cpp (right): https://codereview.chromium.org/638003004/diff/40001/Source/web/ChromeClientImpl.cpp#newcode497 ...
6 years ago (2014-12-10 21:00:59 UTC) #11
kenrb
The test still isn't up yet but I tried to address all comments in this ...
6 years ago (2014-12-11 20:21:22 UTC) #12
dcheng
I'm still taking a more detailed look, but some quick replies. https://codereview.chromium.org/638003004/diff/40001/Source/web/ChromeClientImpl.cpp File Source/web/ChromeClientImpl.cpp (right): ...
6 years ago (2014-12-11 23:31:45 UTC) #13
kenrb
https://codereview.chromium.org/638003004/diff/40001/Source/web/ChromeClientImpl.cpp File Source/web/ChromeClientImpl.cpp (right): https://codereview.chromium.org/638003004/diff/40001/Source/web/ChromeClientImpl.cpp#newcode497 Source/web/ChromeClientImpl.cpp:497: // If the frame is still being created, it ...
6 years ago (2014-12-16 18:51:00 UTC) #14
dcheng
https://codereview.chromium.org/638003004/diff/40001/Source/web/ChromeClientImpl.cpp File Source/web/ChromeClientImpl.cpp (right): https://codereview.chromium.org/638003004/diff/40001/Source/web/ChromeClientImpl.cpp#newcode497 Source/web/ChromeClientImpl.cpp:497: // If the frame is still being created, it ...
6 years ago (2014-12-16 20:13:06 UTC) #15
kenrb
https://codereview.chromium.org/638003004/diff/80001/Source/web/WebFrameWidgetImpl.cpp File Source/web/WebFrameWidgetImpl.cpp (right): https://codereview.chromium.org/638003004/diff/80001/Source/web/WebFrameWidgetImpl.cpp#newcode440 Source/web/WebFrameWidgetImpl.cpp:440: if (m_page) On 2014/12/16 20:13:06, dcheng wrote: > Why ...
6 years ago (2014-12-16 22:04:12 UTC) #16
dcheng
https://codereview.chromium.org/638003004/diff/80001/Source/web/WebFrameWidgetImpl.cpp File Source/web/WebFrameWidgetImpl.cpp (right): https://codereview.chromium.org/638003004/diff/80001/Source/web/WebFrameWidgetImpl.cpp#newcode440 Source/web/WebFrameWidgetImpl.cpp:440: if (m_page) On 2014/12/16 22:04:12, kenrb wrote: > On ...
6 years ago (2014-12-16 23:20:20 UTC) #17
kenrb
If we need more discussion on the ownership models here, we can maybe have a ...
6 years ago (2014-12-17 14:52:31 UTC) #18
kenrb
Daniel, Nate: PTAL? I tried to capture what Daniel and I talked about this afternoon. ...
6 years ago (2014-12-17 22:34:43 UTC) #19
dcheng
https://codereview.chromium.org/638003004/diff/120001/Source/web/ChromeClientImpl.cpp File Source/web/ChromeClientImpl.cpp (right): https://codereview.chromium.org/638003004/diff/120001/Source/web/ChromeClientImpl.cpp#newcode499 Source/web/ChromeClientImpl.cpp:499: // a local frame root that doesn't have a ...
6 years ago (2014-12-17 23:22:53 UTC) #20
kenrb
https://codereview.chromium.org/638003004/diff/120001/Source/web/ChromeClientImpl.cpp File Source/web/ChromeClientImpl.cpp (right): https://codereview.chromium.org/638003004/diff/120001/Source/web/ChromeClientImpl.cpp#newcode499 Source/web/ChromeClientImpl.cpp:499: // a local frame root that doesn't have a ...
6 years ago (2014-12-18 18:46:29 UTC) #21
dcheng
lgtm with some nits. https://codereview.chromium.org/638003004/diff/140001/Source/web/WebFrameWidgetImpl.cpp File Source/web/WebFrameWidgetImpl.cpp (right): https://codereview.chromium.org/638003004/diff/140001/Source/web/WebFrameWidgetImpl.cpp#newcode294 Source/web/WebFrameWidgetImpl.cpp:294: const WebInputEvent* WebFrameWidgetImpl::m_currentInputEvent = 0; ...
6 years ago (2014-12-18 19:52:43 UTC) #22
kenrb
japhet@: Friendly ping for review? https://codereview.chromium.org/638003004/diff/140001/Source/web/WebFrameWidgetImpl.cpp File Source/web/WebFrameWidgetImpl.cpp (right): https://codereview.chromium.org/638003004/diff/140001/Source/web/WebFrameWidgetImpl.cpp#newcode294 Source/web/WebFrameWidgetImpl.cpp:294: const WebInputEvent* WebFrameWidgetImpl::m_currentInputEvent = ...
5 years, 11 months ago (2015-01-05 17:09:39 UTC) #23
Nate Chapin
LGTM https://codereview.chromium.org/638003004/diff/160001/Source/web/WebFrameWidgetImpl.cpp File Source/web/WebFrameWidgetImpl.cpp (right): https://codereview.chromium.org/638003004/diff/160001/Source/web/WebFrameWidgetImpl.cpp#newcode168 Source/web/WebFrameWidgetImpl.cpp:168: // TODO: Implement pinch viewport for out-of-process iframes. ...
5 years, 11 months ago (2015-01-05 21:36:09 UTC) #24
kenrb
https://codereview.chromium.org/638003004/diff/160001/Source/web/WebFrameWidgetImpl.cpp File Source/web/WebFrameWidgetImpl.cpp (right): https://codereview.chromium.org/638003004/diff/160001/Source/web/WebFrameWidgetImpl.cpp#newcode168 Source/web/WebFrameWidgetImpl.cpp:168: // TODO: Implement pinch viewport for out-of-process iframes. On ...
5 years, 11 months ago (2015-01-05 21:46:37 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/638003004/180001
5 years, 11 months ago (2015-01-05 21:47:11 UTC) #27
commit-bot: I haz the power
5 years, 11 months ago (2015-01-05 22:58:50 UTC) #28
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=187874

Powered by Google App Engine
This is Rietveld 408576698