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

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

Issue 2728183002: RendererCompositorFrameSink should handle local surface id allocation (Closed)
Patch Set: Rebase 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 0cba4c46a9ee6d4a2c640f0707efccb85e6a9c52..34adc7d2032aadd8e8ecccd3ac1ee67a3ac20b79 100644
--- a/content/browser/renderer_host/delegated_frame_host.h
+++ b/content/browser/renderer_host/delegated_frame_host.h
@@ -33,7 +33,6 @@ class TickClock;
namespace cc {
class CompositorFrameSinkSupport;
-class LocalSurfaceIdAllocator;
}
namespace media {
@@ -124,6 +123,7 @@ class CONTENT_EXPORT DelegatedFrameHost
// Public interface exposed to RenderWidgetHostView.
void SwapDelegatedFrame(uint32_t compositor_frame_sink_id,
+ cc::LocalSurfaceId local_surface_id,
Fady Samuel 2017/03/15 12:05:48 const cc::LocalSurfaceId&
Saman Sami 2017/03/16 18:33:07 Done.
cc::CompositorFrame frame);
void ClearDelegatedFrame();
void WasHidden();
@@ -287,7 +287,6 @@ class CONTENT_EXPORT DelegatedFrameHost
SkColor background_color_;
// State for rendering into a Surface.
- std::unique_ptr<cc::LocalSurfaceIdAllocator> id_allocator_;
std::unique_ptr<cc::CompositorFrameSinkSupport> support_;
gfx::Size current_surface_size_;
float current_scale_factor_;

Powered by Google App Engine
This is Rietveld 408576698