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

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: Removed the Call to WebRemoteFrameImpl::close() and WebViewHelper::reset() in the Destructor of the … 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: 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 9632a87741bf2a7b1614cd3b7008bf9815c132d6..7c2e6635b532f91eb57d62f1a6afbad1f2de28cb 100644
--- a/third_party/WebKit/Source/core/frame/RemoteFrame.cpp
+++ b/third_party/WebKit/Source/core/frame/RemoteFrame.cpp
@@ -145,6 +145,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,
« no previous file with comments | « third_party/WebKit/Source/core/frame/RemoteFrame.h ('k') | third_party/WebKit/Source/core/frame/RemoteFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698