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

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

Issue 2780373002: Use observer pattern instead of sniffing SwapCompositorFrame IPC (Closed)
Patch Set: Addressed comments Created 3 years, 8 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: 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 abea25d83ac4ed8f4a0e4babce94e7742134cd0a..a2d2d9bcfe55b03617deab88d9a8c5a6ea9a36dd 100644
--- a/content/browser/renderer_host/render_widget_host_delegate.h
+++ b/content/browser/renderer_host/render_widget_host_delegate.h
@@ -249,6 +249,9 @@ class CONTENT_EXPORT RenderWidgetHostDelegate {
// not a WebContents, returns nullptr.
virtual WebContents* GetAsWebContents();
+ // Notifies that a CompositorFrame was received from the renderer.
+ virtual void DidReceiveCompositorFrame() {}
+
protected:
virtual ~RenderWidgetHostDelegate() {}
};

Powered by Google App Engine
This is Rietveld 408576698