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

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

Issue 2740833005: [cc] Pass on BeginFrameAcks from CompositorEBFS through RWHVAura, DFH. (Closed)
Patch Set: add struct_traits tests. Created 3 years, 9 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_view_base.h
diff --git a/content/browser/renderer_host/render_widget_host_view_base.h b/content/browser/renderer_host/render_widget_host_view_base.h
index 657ad2027f14a0c5c9deec9f61056a39592cddd5..566b912b7c2e2344c15c5cec8c8ae312e4a324c5 100644
--- a/content/browser/renderer_host/render_widget_host_view_base.h
+++ b/content/browser/renderer_host/render_widget_host_view_base.h
@@ -43,6 +43,10 @@ class SkBitmap;
struct ViewHostMsg_SelectionBounds_Params;
+namespace cc {
+struct BeginFrameAck;
+} // namespace cc
+
namespace media {
class VideoFrame;
}
@@ -218,6 +222,8 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
virtual void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id,
cc::CompositorFrame frame) {}
+ virtual void OnBeginFrameDidNotSwap(const cc::BeginFrameAck& ack) {}
+
// This method exists to allow removing of displayed graphics, after a new
// page has been loaded, to prevent the displayed URL from being out of sync
// with what is visible on screen.

Powered by Google App Engine
This is Rietveld 408576698