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

Unified Diff: components/display_compositor/gpu_compositor_frame_sink_delegate.h

Issue 2795823003: Create //components/viz/frame_sinks and move code. (Closed)
Patch Set: Fix DEPS. 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
Index: components/display_compositor/gpu_compositor_frame_sink_delegate.h
diff --git a/components/display_compositor/gpu_compositor_frame_sink_delegate.h b/components/display_compositor/gpu_compositor_frame_sink_delegate.h
deleted file mode 100644
index e1c4382a6646163944c8d1cc9a2df01e6b67867f..0000000000000000000000000000000000000000
--- a/components/display_compositor/gpu_compositor_frame_sink_delegate.h
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2017 The Chromium Authors. All rights reserved.
-// 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_COMPOSITOR_FRAME_SINK_DELEGATE_H_
-#define COMPONENTS_DISPLAY_COMPOSITOR_GPU_COMPOSITOR_FRAME_SINK_DELEGATE_H_
-
-namespace cc {
-class FrameSinkId;
-}
-
-namespace display_compositor {
-
-class GpuCompositorFrameSinkDelegate {
- public:
- // We must avoid destroying a GpuCompositorFrameSink until both the display
- // compositor host and the client drop their connection to avoid getting into
- // a state where surfaces references are inconsistent.
- virtual void OnClientConnectionLost(const cc::FrameSinkId& frame_sink_id,
- bool destroy_compositor_frame_sink) = 0;
- virtual void OnPrivateConnectionLost(const cc::FrameSinkId& frame_sink_id,
- bool destroy_compositor_frame_sink) = 0;
-
- protected:
- virtual ~GpuCompositorFrameSinkDelegate() {}
-};
-
-} // namespace display_compositor
-
-#endif // COMPONENTS_DISPLAY_COMPOSITOR_GPU_COMPOSITOR_FRAME_SINK_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698