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

Issue 749333002: Plumbing for frame-specific WebWidgets (Closed)

Created:
6 years ago by kenrb
Modified:
6 years ago
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-rendering, dstockwell, eae+blinkwatch, Eric Willigers, gavinp+loader_chromium.org, Nate Chapin, jchaffraix+rendering, leviw+renderwatch, Mike Lawther (Google), pdr+renderingwatchlist_chromium.org, rjwright, shans, site-isolation-reviews_chromium.org, Steve Block, Timothy Loh, tyoshino+watch_chromium.org, zoltan1
Project:
blink
Visibility:
Public.

Description

Plumbing for frame-specific WebWidgets In preparation for having WebWidgets attached to WebFrames that can be used instead of WebViewImpl, there are some ChromeClient calls that need to be generalized. Specifically: - attaching root graphics layers has to go through the correct WebWidget - scheduleAnimation has to have a frame-specific version BUG=419087 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186447

Patch Set 1 #

Patch Set 2 : Fixed broken popup bug #

Total comments: 14

Patch Set 3 : dcheng review comments #

Total comments: 6

Patch Set 4 : Cosmetic changes #

Patch Set 5 : Argument name change #

Total comments: 24

Patch Set 6 : Argument name changes #

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -33 lines) Patch
M Source/core/frame/FrameView.cpp View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/loader/EmptyClients.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M Source/core/page/Chrome.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/page/Chrome.cpp View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/page/ChromeClient.h View 1 2 3 4 5 6 2 chunks +6 lines, -2 lines 0 comments Download
M Source/core/page/PageAnimator.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M Source/core/page/PageAnimator.cpp View 1 2 3 4 5 1 chunk +10 lines, -2 lines 0 comments Download
M Source/core/rendering/compositing/RenderLayerCompositor.cpp View 1 4 chunks +23 lines, -22 lines 0 comments Download
M Source/web/ChromeClientImpl.h View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M Source/web/ChromeClientImpl.cpp View 1 2 3 4 5 6 2 chunks +8 lines, -1 line 0 comments Download
M Source/web/WebPagePopupImpl.cpp View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 23 (9 generated)
kenrb
Nate and Daniel, PTAL? This is splitting out the blink/core plumbing portions of this patch ...
6 years ago (2014-11-24 22:07:42 UTC) #3
dcheng
Some initial thoughts. My main concerns are about the long-term maintainability--will we be able to ...
6 years ago (2014-11-24 22:30:39 UTC) #5
kenrb
The bug talks about the eventual plan for this. When we remove much of the ...
6 years ago (2014-11-25 17:14:56 UTC) #6
dcheng
https://codereview.chromium.org/749333002/diff/20001/Source/core/page/PageAnimator.cpp File Source/core/page/PageAnimator.cpp (right): https://codereview.chromium.org/749333002/diff/20001/Source/core/page/PageAnimator.cpp#newcode78 Source/core/page/PageAnimator.cpp:78: if (rootFrame && !rootFrame->isMainFrame() && rootFrame->isLocalRoot()) { On 2014/11/25 ...
6 years ago (2014-11-25 20:05:13 UTC) #7
kenrb
https://codereview.chromium.org/749333002/diff/20001/Source/core/page/PageAnimator.cpp File Source/core/page/PageAnimator.cpp (right): https://codereview.chromium.org/749333002/diff/20001/Source/core/page/PageAnimator.cpp#newcode78 Source/core/page/PageAnimator.cpp:78: if (rootFrame && !rootFrame->isMainFrame() && rootFrame->isLocalRoot()) { On 2014/11/25 ...
6 years ago (2014-11-26 16:17:12 UTC) #8
dcheng
https://codereview.chromium.org/749333002/diff/40001/Source/core/page/ChromeClient.h File Source/core/page/ChromeClient.h (right): https://codereview.chromium.org/749333002/diff/40001/Source/core/page/ChromeClient.h#newcode185 Source/core/page/ChromeClient.h:185: virtual void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame*) = 0; On 2014/11/26 16:17:11, ...
6 years ago (2014-11-26 16:27:13 UTC) #9
kenrb
https://codereview.chromium.org/749333002/diff/40001/Source/core/page/ChromeClient.h File Source/core/page/ChromeClient.h (right): https://codereview.chromium.org/749333002/diff/40001/Source/core/page/ChromeClient.h#newcode185 Source/core/page/ChromeClient.h:185: virtual void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame*) = 0; On 2014/11/26 16:27:13, ...
6 years ago (2014-11-26 17:31:17 UTC) #10
dcheng
LGTM with comments addressed. IMO, we should just go with localRoot, since we already have ...
6 years ago (2014-11-26 18:20:00 UTC) #11
kenrb
Dimitri: This needs review from a Source/web owner. Are you able to help out here? ...
6 years ago (2014-12-02 17:49:44 UTC) #14
dglazkov
Source/web lgtm.
6 years ago (2014-12-03 16:50:03 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/749333002/100001
6 years ago (2014-12-03 16:56:37 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/21334)
6 years ago (2014-12-03 17:02:02 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/749333002/120001
6 years ago (2014-12-03 18:17:00 UTC) #22
commit-bot: I haz the power
6 years ago (2014-12-03 19:42:35 UTC) #23
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=186447

Powered by Google App Engine
This is Rietveld 408576698