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

Unified Diff: content/browser/renderer_host/render_widget_host_delegate.h

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/renderer_host/render_widget_host_delegate.h
diff --git a/content/browser/renderer_host/render_widget_host_delegate.h b/content/browser/renderer_host/render_widget_host_delegate.h
index b4e4169529bb7e11b1e8da0b392852b01cfdcac1..fce0caa115b165673566640fe8d14a8f91ba74b0 100644
--- a/content/browser/renderer_host/render_widget_host_delegate.h
+++ b/content/browser/renderer_host/render_widget_host_delegate.h
@@ -123,6 +123,10 @@ class CONTENT_EXPORT RenderWidgetHostDelegate {
// current FrameTree, not including the main frame's SiteInstance.
virtual void ReplicatePageFocus(bool is_focused) {}
+ // If there is a guest WebContents, it should be notified of the visibility
Charlie Reis 2015/12/10 07:45:19 nit: s/guest/inner/
EhsanK 2015/12/10 17:08:31 Acknowledged. This function is removed now.
+ // change.
+ virtual void ForwardVisibilityChangeToInnerContents(bool visible) {}
+
// Get the focused RenderWidgetHost associated with |receiving_widget|. A
// RenderWidgetHostView, upon receiving a keyboard event, will pass its
// RenderWidgetHost to this function to determine who should ultimately

Powered by Google App Engine
This is Rietveld 408576698