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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 1414663011: Notifying the Out of Process Renderer about Visibility Change of a Remote Frame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added WebContentsImpl::ForwardVisibilityChangeToInnerContents(bool) Created 5 years 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: content/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index da841da04ba9822298635707c3de75a936dd6ed7..2d060f409bd28920305e44183005488af1d2d862 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -4846,4 +4846,11 @@ void WebContentsImpl::SetForceDisableOverscrollContent(bool force_disable) {
view_->SetOverscrollControllerEnabled(CanOverscrollContent());
}
+void WebContentsImpl::ForwardVisibilityChangeToInnerContents(bool visible) {
Charlie Reis 2015/12/10 07:45:19 Please list this with the other RWHD overrides. I
EhsanK 2015/12/10 17:08:31 For this CL I removed the function altogether. But
+ if (visible)
+ WasShown();
+ else
+ WasHidden();
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698