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

Unified Diff: components/guest_view/browser/guest_view_base.cc

Issue 1592573002: Fixing WebViewVisibilityTests for OOPIF-<webview>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/guest_view/browser/guest_view_base.cc
diff --git a/components/guest_view/browser/guest_view_base.cc b/components/guest_view/browser/guest_view_base.cc
index 634b1f7900b7eb7b5798e865f6de57b17037a76e..c9725cceda7e839fd9ba22df1ea5092337835db9 100644
--- a/components/guest_view/browser/guest_view_base.cc
+++ b/components/guest_view/browser/guest_view_base.cc
@@ -599,13 +599,6 @@ void GuestViewBase::DidNavigateMainFrame(
const content::FrameNavigateParams& params) {
if (attached() && ZoomPropagatesFromEmbedderToGuest())
SetGuestZoomLevelToMatchEmbedder();
-
- // TODO(lazyboy): This breaks guest visibility in --site-per-process because
lazyboy 2016/01/16 00:46:47 Great. Does this take care of all the visibility r
EhsanK 2016/01/20 00:00:03 We had three visibility tests where the first two
- // we do not take the widget's visibility into account. We need to also
- // stay hidden during "visibility:none" state.
- if (content::BrowserPluginGuestMode::UseCrossProcessFramesForGuests()) {
- web_contents()->WasShown();
- }
}
void GuestViewBase::ActivateContents(WebContents* web_contents) {

Powered by Google App Engine
This is Rietveld 408576698