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

Unified Diff: cc/surfaces/compositor_frame_sink_support.h

Issue 2800833005: Remove SurfaceFactory Occurrences Outside Of cc (Closed)
Patch Set: Cleanup 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
« 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: cc/surfaces/compositor_frame_sink_support.h
diff --git a/cc/surfaces/compositor_frame_sink_support.h b/cc/surfaces/compositor_frame_sink_support.h
index bdafb4933e6c0f752edc1fde38a9d63fd003d6b5..707095d82fff5221b5c47a169d526fee99d6534e 100644
--- a/cc/surfaces/compositor_frame_sink_support.h
+++ b/cc/surfaces/compositor_frame_sink_support.h
@@ -19,6 +19,10 @@
#include "cc/surfaces/surface_id.h"
#include "cc/surfaces/surfaces_export.h"
+namespace content {
piman 2017/04/10 17:46:10 This is a layering violation... If all you need is
Alex Z. 2017/04/10 19:12:08 Following the discussion on Slack, the implementat
+class RenderWidgetHostViewChildFrameTest;
+} // namespace content
+
namespace cc {
class CompositorFrameSinkSupportClient;
@@ -57,6 +61,8 @@ class CC_SURFACES_EXPORT CompositorFrameSinkSupport
void ClaimTemporaryReference(const SurfaceId& surface_id);
private:
+ friend class content::RenderWidgetHostViewChildFrameTest;
+
// Update surface references with SurfaceManager for current CompositorFrame
// that has |local_surface_id|. UpdateReferences() must be called on
// |reference_tracker_| before calling this. Will add and remove top-level
« 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