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

Issue 1592573002: Fixing WebViewVisibilityTests for OOPIF-<webview>. (Closed)

Created:
4 years, 11 months ago by EhsanK
Modified:
4 years, 10 months ago
Reviewers:
kenrb, lazyboy, no sievers
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixing WebViewVisibilityTests for OOPIF-<webview>. When a remote frame's visibility changes, the browser receives an IPC which is handled in the CrossProcessFrameConnector. For the case of <webview> which is implemented based on OOPIF, this change in visibility should be forwarded to the inner (guest) WebContents. This CL adds the required plumbing. BUG=543179 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/a4f42690319fda189c64c0f755bc26665bcf0e4c Cr-Commit-Position: refs/heads/master@{#374937}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Added Tests and TODO #

Total comments: 12

Patch Set 3 : Addressing Comments #

Patch Set 4 : Merged #

Total comments: 2

Patch Set 5 : BrowserPluginGuest does not Change Visibility of OOPIF-<webview> #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -11 lines) Patch
M chrome/browser/apps/guest_view/web_view_browsertest.cc View 1 2 3 4 1 chunk +1 line, -3 lines 0 comments Download
M components/guest_view/browser/guest_view_base.cc View 1 2 3 4 1 chunk +0 lines, -7 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/frame_host/cross_process_frame_connector.cc View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_delegate.h View 1 2 1 chunk +7 lines, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (13 generated)
EhsanK
PTAL.
4 years, 11 months ago (2016-01-15 02:02:42 UTC) #5
lazyboy
I think you need to tweak the description of the CL a bit to say ...
4 years, 11 months ago (2016-01-16 00:46:48 UTC) #6
EhsanK
Adding kenrb@ for RWHVCF. Adding sievers@ for the missing permissions. Please take a look. Thanks! ...
4 years, 11 months ago (2016-01-20 00:00:03 UTC) #9
lazyboy
guest_view stuffs LGTM. https://chromiumcodereview.appspot.com/1592573002/diff/40001/content/browser/frame_host/cross_process_frame_connector.cc File content/browser/frame_host/cross_process_frame_connector.cc (right): https://chromiumcodereview.appspot.com/1592573002/diff/40001/content/browser/frame_host/cross_process_frame_connector.cc#newcode236 content/browser/frame_host/cross_process_frame_connector.cc:236: // If there is an inner ...
4 years, 11 months ago (2016-01-20 00:45:35 UTC) #10
EhsanK
On 2016/01/20 00:00:03, ehsaaan wrote: > Adding kenrb@ for RWHVCF. > Adding sievers@ for the ...
4 years, 11 months ago (2016-01-22 16:26:20 UTC) #11
kenrb
Mostly looks fine. A couple of minor comments. https://codereview.chromium.org/1592573002/diff/40001/content/browser/frame_host/cross_process_frame_connector.cc File content/browser/frame_host/cross_process_frame_connector.cc (right): https://codereview.chromium.org/1592573002/diff/40001/content/browser/frame_host/cross_process_frame_connector.cc#newcode237 content/browser/frame_host/cross_process_frame_connector.cc:237: // ...
4 years, 11 months ago (2016-01-22 22:26:02 UTC) #12
EhsanK
PTAL. https://codereview.chromium.org/1592573002/diff/40001/content/browser/frame_host/cross_process_frame_connector.cc File content/browser/frame_host/cross_process_frame_connector.cc (right): https://codereview.chromium.org/1592573002/diff/40001/content/browser/frame_host/cross_process_frame_connector.cc#newcode236 content/browser/frame_host/cross_process_frame_connector.cc:236: // If there is an inner WebContents, iot ...
4 years, 10 months ago (2016-01-26 18:36:27 UTC) #13
no sievers
https://codereview.chromium.org/1592573002/diff/40001/content/browser/frame_host/cross_process_frame_connector.cc File content/browser/frame_host/cross_process_frame_connector.cc (right): https://codereview.chromium.org/1592573002/diff/40001/content/browser/frame_host/cross_process_frame_connector.cc#newcode243 content/browser/frame_host/cross_process_frame_connector.cc:243: ->ForwardVisibilityChange(visible); Something feels off about this needing to bubble ...
4 years, 10 months ago (2016-01-26 20:33:07 UTC) #14
EhsanK
PTAL. https://codereview.chromium.org/1592573002/diff/40001/content/browser/frame_host/cross_process_frame_connector.cc File content/browser/frame_host/cross_process_frame_connector.cc (right): https://codereview.chromium.org/1592573002/diff/40001/content/browser/frame_host/cross_process_frame_connector.cc#newcode243 content/browser/frame_host/cross_process_frame_connector.cc:243: ->ForwardVisibilityChange(visible); On 2016/01/26 20:33:06, sievers wrote: > Something ...
4 years, 10 months ago (2016-01-27 16:03:22 UTC) #16
kenrb
lgtm from my side. https://codereview.chromium.org/1592573002/diff/40001/content/browser/frame_host/cross_process_frame_connector.cc File content/browser/frame_host/cross_process_frame_connector.cc (right): https://codereview.chromium.org/1592573002/diff/40001/content/browser/frame_host/cross_process_frame_connector.cc#newcode243 content/browser/frame_host/cross_process_frame_connector.cc:243: ->ForwardVisibilityChange(visible); On 2016/01/26 20:33:06, sievers ...
4 years, 10 months ago (2016-01-27 16:38:16 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1592573002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1592573002/100001
4 years, 10 months ago (2016-02-02 16:37:18 UTC) #20
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/167882) win_chromium_x64_rel_ng on ...
4 years, 10 months ago (2016-02-02 17:39:25 UTC) #22
no sievers
lgtm https://codereview.chromium.org/1592573002/diff/100001/content/browser/renderer_host/render_widget_host_delegate.h File content/browser/renderer_host/render_widget_host_delegate.h (right): https://codereview.chromium.org/1592573002/diff/100001/content/browser/renderer_host/render_widget_host_delegate.h#newcode178 content/browser/renderer_host/render_widget_host_delegate.h:178: // Called when the widget has sent a ...
4 years, 10 months ago (2016-02-02 18:14:04 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1592573002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1592573002/120001
4 years, 10 months ago (2016-02-11 16:10:01 UTC) #26
commit-bot: I haz the power
Committed patchset #5 (id:120001)
4 years, 10 months ago (2016-02-11 19:48:48 UTC) #27
commit-bot: I haz the power
4 years, 10 months ago (2016-02-16 22:36:38 UTC) #29
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/a4f42690319fda189c64c0f755bc26665bcf0e4c
Cr-Commit-Position: refs/heads/master@{#374937}

Powered by Google App Engine
This is Rietveld 408576698