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

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 Tests Created 5 years, 1 month 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 e9c043e92ab13e9c51a78bc09995f8cdcf71cac1..aa9f51e2f8b69df17b851539587f859b67f84b76 100644
--- a/content/browser/renderer_host/render_widget_host_delegate.h
+++ b/content/browser/renderer_host/render_widget_host_delegate.h
@@ -105,6 +105,10 @@ class CONTENT_EXPORT RenderWidgetHostDelegate {
// current FrameTree, not including the main frame's SiteInstance.
virtual void ReplicatePageFocus(bool is_focused) {}
+ // Returns true if this delegate corresponds to a guest WebContents and the
+ // change in visiblity is forwarded to all RenderWidgetHostView's.
kenrb 2015/11/11 16:09:34 nit: Spelling of 'visibility', and no apostrophe i
EhsanK 2015/11/11 19:13:18 Acknowledged.
+ virtual bool DidForwardVisibilityChangeToGuest(bool visible);
+
#if defined(OS_WIN)
virtual gfx::NativeViewAccessible GetParentNativeViewAccessible();
#endif

Powered by Google App Engine
This is Rietveld 408576698