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

Unified Diff: content/browser/frame_host/render_widget_host_view_child_frame.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/frame_host/render_widget_host_view_child_frame.h
diff --git a/content/browser/frame_host/render_widget_host_view_child_frame.h b/content/browser/frame_host/render_widget_host_view_child_frame.h
index 78d0ea998a558f6483f05631b3e801ef4c17b3da..026b4d9e3dafcef486e6bfab76d46ec5a3880e55 100644
--- a/content/browser/frame_host/render_widget_host_view_child_frame.h
+++ b/content/browser/frame_host/render_widget_host_view_child_frame.h
@@ -159,6 +159,9 @@ class CONTENT_EXPORT RenderWidgetHostViewChildFrame
// to Bind() to it.
void SurfaceDrawn(uint32 output_surface_id, cc::SurfaceDrawStatus drawn);
+ // Called when the visibility is changed at the renderer side.
+ void SetVisibility(bool visible);
+
protected:
friend class RenderWidgetHostView;
friend class RenderWidgetHostViewChildFrameTest;

Powered by Google App Engine
This is Rietveld 408576698