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

Unified Diff: content/browser/frame_host/render_widget_host_view_child_frame.h

Issue 2779593002: [cc] Forward BeginFrameAcks through RWHVChildFrame. (Closed)
Patch Set: fix compile on android 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
« no previous file with comments | « no previous file | content/browser/frame_host/render_widget_host_view_child_frame.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d1a8d3a8e40dc8156e39fe3f84eca2ed4e365200..a86b2c7aa6eb8ae2f1579f620268ade53c91af9e 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
@@ -13,6 +13,7 @@
#include <vector>
#include "base/callback.h"
+#include "base/gtest_prod_util.h"
#include "base/macros.h"
#include "build/build_config.h"
#include "cc/resources/returned_resource.h"
@@ -108,6 +109,7 @@ class CONTENT_EXPORT RenderWidgetHostViewChildFrame
void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id,
const cc::LocalSurfaceId& local_surface_id,
cc::CompositorFrame frame) override;
+ void OnBeginFrameDidNotSwap(const cc::BeginFrameAck& ack) override;
// Since the URL of content rendered by this class is not displayed in
// the URL bar, this method does not need an implementation.
void ClearCompositorFrame() override {}
@@ -186,6 +188,8 @@ class CONTENT_EXPORT RenderWidgetHostViewChildFrame
friend class RenderWidgetHostView;
friend class RenderWidgetHostViewChildFrameTest;
friend class RenderWidgetHostViewGuestSurfaceTest;
+ FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewChildFrameTest,
+ ForwardsBeginFrameAcks);
explicit RenderWidgetHostViewChildFrame(RenderWidgetHost* widget);
void Init();
« no previous file with comments | « no previous file | content/browser/frame_host/render_widget_host_view_child_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698