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

Unified Diff: third_party/WebKit/Source/core/frame/RemoteFrame.cpp

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: third_party/WebKit/Source/core/frame/RemoteFrame.cpp
diff --git a/third_party/WebKit/Source/core/frame/RemoteFrame.cpp b/third_party/WebKit/Source/core/frame/RemoteFrame.cpp
index 88ba74565b4c8961e920dd91f3fc55af2e000ec8..65e93f76d8e699d3074bbab12835f7e01c22e246 100644
--- a/third_party/WebKit/Source/core/frame/RemoteFrame.cpp
+++ b/third_party/WebKit/Source/core/frame/RemoteFrame.cpp
@@ -140,6 +140,12 @@ void RemoteFrame::frameRectsChanged(const IntRect& frameRect)
remoteFrameClient()->frameRectsChanged(frameRect);
}
+void RemoteFrame::visibilityChanged(bool visible)
+{
+ if (remoteFrameClient())
+ remoteFrameClient()->visibilityChanged(visible);
+}
+
void RemoteFrame::setView(PassRefPtrWillBeRawPtr<RemoteFrameView> view)
{
// Oilpan: as RemoteFrameView performs no finalization actions,

Powered by Google App Engine
This is Rietveld 408576698