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

Issue 104433003: Attach a WebLayer to a frame element for out-of-process iframes. (Closed)

Created:
7 years ago by kenrb
Modified:
7 years ago
CC:
blink-reviews, jamesr, bemjb+rendering_chromium.org, zoltan1, eae+blinkwatch, leviw+renderwatch, abarth-chromium, blink-layers+watch_chromium.org, dglazkov+blink, jchaffraix+rendering, site-isolation-reviews_chromium.org, dcheng
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Attach a WebLayer to a frame element for out-of-process iframes. This patch allows a WebLayer to be attached to an HTMLFrameOwnerElement and causes it to be composited as the content of its frame. The WebLayer will contain compositor frame information received from another process that has rendered the content of an out-of-process iframe. BUG=325803 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163890

Patch Set 1 #

Patch Set 2 : Moved WebLayer pointer to HTMLFrameOwnerElement #

Patch Set 3 : Removed unnecessary #include #

Total comments: 1

Patch Set 4 : Support for OOP RenderFrames as well as RenderIFrames #

Patch Set 5 : Moved WebLayer back to Frame again. #

Total comments: 16

Patch Set 6 : addressing review comments #

Total comments: 1

Patch Set 7 : Added missing null check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -1 line) Patch
M Source/core/frame/Frame.h View 1 2 3 4 5 3 chunks +9 lines, -0 lines 0 comments Download
M Source/core/frame/Frame.cpp View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/rendering/CompositedLayerMapping.cpp View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderLayerCompositor.cpp View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderPart.cpp View 1 2 3 4 5 2 chunks +5 lines, -1 line 0 comments Download
M Source/web/WebFrameImpl.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/WebFrameImpl.cpp View 1 2 3 4 5 2 chunks +14 lines, -0 lines 0 comments Download
M public/web/WebFrame.h View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (0 generated)
kenrb
James, can you ptal?
7 years ago (2013-12-04 21:34:33 UTC) #1
jamesr
This feels a little awkward on the Frame itself. Wouldn't it make more sense on ...
7 years ago (2013-12-04 22:39:56 UTC) #2
kenrb
On 2013/12/04 22:39:56, jamesr wrote: > This feels a little awkward on the Frame itself. ...
7 years ago (2013-12-05 00:00:47 UTC) #3
jamesr
Storing on the WebFrame won't help you a ton since you need access to it ...
7 years ago (2013-12-05 00:01:44 UTC) #4
kenrb
On 2013/12/05 00:01:44, jamesr wrote: > Storing on the WebFrame won't help you a ton ...
7 years ago (2013-12-05 00:23:40 UTC) #5
kenrb
On 2013/12/04 22:39:56, jamesr wrote: > This feels a little awkward on the Frame itself. ...
7 years ago (2013-12-05 21:11:32 UTC) #6
kenrb
James does this look okay to you? Is there anybody else you think should review?
7 years ago (2013-12-06 17:25:28 UTC) #7
Charlie Reis
Quick question, since we would need this to work for frameset + frame as well ...
7 years ago (2013-12-06 18:00:04 UTC) #8
kenrb
On 2013/12/06 18:00:04, creis wrote: > Quick question, since we would need this to work ...
7 years ago (2013-12-06 19:53:45 UTC) #9
Charlie Reis
On 2013/12/06 19:53:45, kenrb wrote: https://codereview.chromium.org/104433003/diff/40001/Source/core/rendering/RenderLayerCompositor.cpp#newcode1676 > > Source/core/rendering/RenderLayerCompositor.cpp:1676: if > > (frameRenderer->isRenderIFrame() && frameRenderer->node() ...
7 years ago (2013-12-07 00:45:09 UTC) #10
jamesr
public/ and Source/web/ lgtm but I don't know enough about the intended organization inside /core/ ...
7 years ago (2013-12-07 00:47:43 UTC) #11
kenrb
Adam, can you take a look here?
7 years ago (2013-12-07 01:27:30 UTC) #12
abarth-chromium
This CL strikes me as very strange. Why would the DOM need to know about ...
7 years ago (2013-12-07 22:11:31 UTC) #13
kenrb
On 2013/12/07 22:11:31, abarth wrote: > This CL strikes me as very strange. Why would ...
7 years ago (2013-12-09 00:11:22 UTC) #14
dcheng
On 2013/12/09 00:11:22, kenrb wrote: > On 2013/12/07 22:11:31, abarth wrote: > > This CL ...
7 years ago (2013-12-09 00:47:19 UTC) #15
dcheng
On 2013/12/09 00:47:19, dcheng wrote: > On 2013/12/09 00:11:22, kenrb wrote: > > On 2013/12/07 ...
7 years ago (2013-12-09 00:48:09 UTC) #16
abarth-chromium
On Sunday, December 8, 2013, wrote: > On 2013/12/09 00:47:19, dcheng wrote: > >> On ...
7 years ago (2013-12-09 01:36:24 UTC) #17
kenrb
New patch up. eseidel: PTAL?
7 years ago (2013-12-09 17:35:00 UTC) #18
eseidel
We really need to build an abstraction around Frame first. This is a RemoteFrame concept.
7 years ago (2013-12-10 07:27:49 UTC) #19
eseidel
Sorry I was horribly slow to respond. I'm working on OOPI (finally) this week. Happy ...
7 years ago (2013-12-10 07:28:51 UTC) #20
kenrb
On 2013/12/10 07:27:49, eseidel wrote: > We really need to build an abstraction around Frame ...
7 years ago (2013-12-10 13:30:19 UTC) #21
eseidel
No, it correctly belongs on Frame. However, this part of OOPI has no value to ...
7 years ago (2013-12-10 16:55:44 UTC) #22
eseidel
Sorry my first sentence was overly terse. I don't think this has anything to do ...
7 years ago (2013-12-10 16:56:50 UTC) #23
eseidel
Lets just create a RemoteFrame concept today. I'm nearly done with the FocusController patch I'm ...
7 years ago (2013-12-10 17:01:52 UTC) #24
eseidel
Typing too quickly. In my last comment I meant "move the FrameTree logic over to ...
7 years ago (2013-12-10 17:08:05 UTC) #25
kenrb
On 2013/12/10 16:56:50, eseidel wrote: > Sorry my first sentence was overly terse. I don't ...
7 years ago (2013-12-10 17:46:27 UTC) #26
eseidel
I don't want to keep blocking you. Give these less generic names so others won't ...
7 years ago (2013-12-11 18:50:01 UTC) #27
ncarter (slow)
https://codereview.chromium.org/104433003/diff/80001/Source/core/frame/Frame.h File Source/core/frame/Frame.h (right): https://codereview.chromium.org/104433003/diff/80001/Source/core/frame/Frame.h#newcode159 Source/core/frame/Frame.h:159: void setPlatformLayer(blink::WebLayer* platformLayer) { m_platformLayer = platformLayer; } On ...
7 years ago (2013-12-11 21:28:10 UTC) #28
eseidel
I see oilpan as a big bet. I see OOPI as a big bet. I ...
7 years ago (2013-12-11 21:43:35 UTC) #29
kenrb
On 2013/12/11 21:43:35, eseidel wrote: > > I'm not suggesting we move OOPI to a ...
7 years ago (2013-12-11 21:50:14 UTC) #30
kenrb
https://codereview.chromium.org/104433003/diff/80001/Source/core/frame/Frame.h File Source/core/frame/Frame.h (right): https://codereview.chromium.org/104433003/diff/80001/Source/core/frame/Frame.h#newcode247 Source/core/frame/Frame.h:247: // This layer is for frames whose contents are ...
7 years ago (2013-12-11 22:44:55 UTC) #31
eseidel
I still suspect you may be doing too much work with your recalc style. Style ...
7 years ago (2013-12-11 23:19:45 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenrb@chromium.org/104433003/100001
7 years ago (2013-12-12 19:37:57 UTC) #33
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=15353
7 years ago (2013-12-12 21:10:14 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenrb@chromium.org/104433003/120001
7 years ago (2013-12-13 17:54:51 UTC) #35
commit-bot: I haz the power
7 years ago (2013-12-13 19:07:15 UTC) #36
Message was sent while issue was closed.
Change committed as 163890

Powered by Google App Engine
This is Rietveld 408576698