Index: components/frame_sinks/gpu_root_compositor_frame_sink.h |
diff --git a/components/display_compositor/gpu_root_compositor_frame_sink.h b/components/frame_sinks/gpu_root_compositor_frame_sink.h |
similarity index 89% |
rename from components/display_compositor/gpu_root_compositor_frame_sink.h |
rename to components/frame_sinks/gpu_root_compositor_frame_sink.h |
index d152bb18e1a8435b5c19b8be2612265289f359b6..de63eddaeff7c91833c4171a564cb4c34aed4f16 100644 |
--- a/components/display_compositor/gpu_root_compositor_frame_sink.h |
+++ b/components/frame_sinks/gpu_root_compositor_frame_sink.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef COMPONENTS_DISPLAY_COMPOSITOR_GPU_ROOT_COMPOSITOR_FRAME_SINK_H_ |
-#define COMPONENTS_DISPLAY_COMPOSITOR_GPU_ROOT_COMPOSITOR_FRAME_SINK_H_ |
+#ifndef COMPONENTS_FRAME_SINKS_GPU_ROOT_COMPOSITOR_FRAME_SINK_H_ |
+#define COMPONENTS_FRAME_SINKS_GPU_ROOT_COMPOSITOR_FRAME_SINK_H_ |
#include "cc/ipc/display_compositor.mojom.h" |
#include "cc/ipc/mojo_compositor_frame_sink.mojom.h" |
@@ -11,8 +11,8 @@ |
#include "cc/surfaces/display_client.h" |
#include "cc/surfaces/local_surface_id.h" |
#include "cc/surfaces/surface_id.h" |
-#include "components/display_compositor/display_compositor_export.h" |
-#include "components/display_compositor/gpu_compositor_frame_sink_delegate.h" |
+#include "components/frame_sinks/frame_sinks_export.h" |
+#include "components/frame_sinks/gpu_compositor_frame_sink_delegate.h" |
#include "mojo/public/cpp/bindings/associated_binding.h" |
#include "mojo/public/cpp/bindings/binding.h" |
@@ -23,11 +23,11 @@ class Display; |
class SurfaceManager; |
} |
-namespace display_compositor { |
+namespace frame_sinks { |
class GpuCompositorFrameSinkDelegate; |
-class DISPLAY_COMPOSITOR_EXPORT GpuRootCompositorFrameSink |
+class FRAME_SINKS_EXPORT GpuRootCompositorFrameSink |
: public NON_EXPORTED_BASE(cc::CompositorFrameSinkSupportClient), |
public NON_EXPORTED_BASE(cc::mojom::MojoCompositorFrameSink), |
public NON_EXPORTED_BASE(cc::mojom::MojoCompositorFrameSinkPrivate), |
@@ -104,6 +104,6 @@ class DISPLAY_COMPOSITOR_EXPORT GpuRootCompositorFrameSink |
DISALLOW_COPY_AND_ASSIGN(GpuRootCompositorFrameSink); |
}; |
-} // namespace display_compositor |
+} // namespace frame_sinks |
-#endif // COMPONENTS_DISPLAY_COMPOSITOR_GPU_ROOT_COMPOSITOR_FRAME_SINK_H_ |
+#endif // COMPONENTS_FRAME_SINKS_GPU_ROOT_COMPOSITOR_FRAME_SINK_H_ |