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

Unified Diff: services/ui/surfaces/display_provider.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
« no previous file with comments | « services/ui/surfaces/DEPS ('k') | services/ui/surfaces/mojo_frame_sink_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/surfaces/display_provider.h
diff --git a/services/ui/surfaces/display_provider.h b/services/ui/surfaces/display_provider.h
deleted file mode 100644
index 7be3f66e30dda0a7d9d480d491004c3abe3c2eed..0000000000000000000000000000000000000000
--- a/services/ui/surfaces/display_provider.h
+++ /dev/null
@@ -1,36 +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 SERVICES_UI_SURFACES_DISPLAY_PROVIDER_H_
-#define SERVICES_UI_SURFACES_DISPLAY_PROVIDER_H_
-
-#include <memory>
-
-#include "gpu/ipc/common/surface_handle.h"
-
-namespace cc {
-class BeginFrameSource;
-class Display;
-class FrameSinkId;
-}
-
-namespace ui {
-
-// Handles creating new cc::Displays and related classes for
-// MojoFrameSinkManager.
-class DisplayProvider {
- public:
- virtual ~DisplayProvider() {}
-
- // Creates a new cc::Display for |surface_handle| with |frame_sink_id|. Will
- // also create cc::BeginFrameSource and return it in |begin_frame_source|.
- virtual std::unique_ptr<cc::Display> CreateDisplay(
- const cc::FrameSinkId& frame_sink_id,
- gpu::SurfaceHandle surface_handle,
- std::unique_ptr<cc::BeginFrameSource>* begin_frame_source) = 0;
-};
-
-} // namespace ui
-
-#endif // SERVICES_UI_SURFACES_DISPLAY_PROVIDER_H_
« no previous file with comments | « services/ui/surfaces/DEPS ('k') | services/ui/surfaces/mojo_frame_sink_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698