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

Issue 1335023004: Prepare MimeHanderViewContainer for removing swapped out RenderFrame. (Closed)

Created:
5 years, 3 months ago by nasko
Modified:
5 years, 3 months ago
Reviewers:
Fady Samuel, raymes
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, 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

Prepare MimeHanderViewContainer for removing swapped out RenderFrame. The current implementation of MimeHanderViewContainer is dependent on the usage of swapped out RenderFrame for the out-of-process component. Since swapped out state is going away, this CL removes this dependency. Credit goes to dcheng@, who found the simplest solution. BUG=357747 Committed: https://crrev.com/5c749f3a0fad10de6b56d49351f9b99907f16750 Cr-Commit-Position: refs/heads/master@{#348666}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add a TODO. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -3 lines) Patch
M extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc View 1 3 chunks +14 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
nasko
Hey Raymes and Fady, Can you review this CL? dcheng@ found a much cleaner and ...
5 years, 3 months ago (2015-09-14 15:34:44 UTC) #2
Fady Samuel
https://codereview.chromium.org/1335023004/diff/1/extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc File extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc (right): https://codereview.chromium.org/1335023004/diff/1/extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc#newcode259 extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc:259: render_frame()->GetWebFrame()->callFunctionEvenIfScriptDisabled( I thought we also wanted to avoid using ...
5 years, 3 months ago (2015-09-14 15:38:05 UTC) #3
nasko
https://codereview.chromium.org/1335023004/diff/1/extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc File extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc (right): https://codereview.chromium.org/1335023004/diff/1/extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc#newcode259 extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc:259: render_frame()->GetWebFrame()->callFunctionEvenIfScriptDisabled( On 2015/09/14 15:38:05, Fady Samuel wrote: > I ...
5 years, 3 months ago (2015-09-14 15:39:20 UTC) #4
Fady Samuel
https://codereview.chromium.org/1335023004/diff/1/extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc File extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc (right): https://codereview.chromium.org/1335023004/diff/1/extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc#newcode241 extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc:241: if (guest_proxy_frame->isWebLocalFrame()) { A comment or helper method would ...
5 years, 3 months ago (2015-09-14 15:39:26 UTC) #5
Fady Samuel
LGTM + nit (a comment would be super helpful here).
5 years, 3 months ago (2015-09-14 15:40:34 UTC) #6
nasko
https://codereview.chromium.org/1335023004/diff/1/extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc File extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc (right): https://codereview.chromium.org/1335023004/diff/1/extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc#newcode241 extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc:241: if (guest_proxy_frame->isWebLocalFrame()) { On 2015/09/14 15:39:26, Fady Samuel wrote: ...
5 years, 3 months ago (2015-09-14 16:24:21 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1335023004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1335023004/20001
5 years, 3 months ago (2015-09-14 17:10:29 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-14 17:48:02 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1335023004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1335023004/20001
5 years, 3 months ago (2015-09-14 18:16:38 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 3 months ago (2015-09-14 18:39:47 UTC) #15
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/5c749f3a0fad10de6b56d49351f9b99907f16750 Cr-Commit-Position: refs/heads/master@{#348666}
5 years, 3 months ago (2015-09-14 18:40:47 UTC) #16
raymes
Nice work guys! :) On Tue, 15 Sep 2015 at 04:40 commit-bot@chromium.org via codereview.chromium.org <reply@chromiumcodereview-hr.appspotmail.com> ...
5 years, 3 months ago (2015-09-15 00:41:26 UTC) #17
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 12:34:55 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5c749f3a0fad10de6b56d49351f9b99907f16750
Cr-Commit-Position: refs/heads/master@{#348666}

Powered by Google App Engine
This is Rietveld 408576698