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

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

Issue 2780713004: Hide compositor_frame_sink_id from RenderWidgetHostView* (Closed)
Patch Set: Added a comment in 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
Index: content/browser/renderer_host/delegated_frame_host.h
diff --git a/content/browser/renderer_host/delegated_frame_host.h b/content/browser/renderer_host/delegated_frame_host.h
index d79cb26e0a7fb41672f7b23426a0daba945398d3..f15ee934bbe58335f36a130506534f99430c9a50 100644
--- a/content/browser/renderer_host/delegated_frame_host.h
+++ b/content/browser/renderer_host/delegated_frame_host.h
@@ -71,7 +71,6 @@ class CONTENT_EXPORT DelegatedFrameHostClient {
virtual void DelegatedFrameHostResizeLockWasReleased() = 0;
virtual void DelegatedFrameHostSendReclaimCompositorResources(
- int compositor_frame_sink_id,
bool is_swap_ack,
const cc::ReturnedResourceArray& resources) = 0;
@@ -122,9 +121,9 @@ class CONTENT_EXPORT DelegatedFrameHost
// Public interface exposed to RenderWidgetHostView.
- void SwapDelegatedFrame(uint32_t compositor_frame_sink_id,
- const cc::LocalSurfaceId& local_surface_id,
- cc::CompositorFrame frame);
+ void DidCreateNewRendererCompositorFrameSink();
+ void SubmitCompositorFrame(const cc::LocalSurfaceId& local_surface_id,
+ cc::CompositorFrame frame);
void ClearDelegatedFrame();
void WasHidden();
void WasShown(const ui::LatencyInfo& latency_info);
@@ -271,11 +270,6 @@ class CONTENT_EXPORT DelegatedFrameHost
// Overridable tick clock used for testing functions using current time.
std::unique_ptr<base::TickClock> tick_clock_;
- // With delegated renderer, this is the last output surface, used to
- // disambiguate resources with the same id coming from different output
- // surfaces.
- uint32_t last_compositor_frame_sink_id_;
-
// True after a delegated frame has been skipped, until a frame is not
// skipped.
bool skipped_frames_;
« no previous file with comments | « content/browser/renderer_host/browser_compositor_view_mac.mm ('k') | content/browser/renderer_host/delegated_frame_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698