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

Unified Diff: services/surfaces/display_factory_impl.h

Issue 1536863002: Delete the Surfaces service. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-4
Patch Set: rebase Created 4 years, 11 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/surfaces/context_provider_mojo.cc ('k') | services/surfaces/display_factory_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/surfaces/display_factory_impl.h
diff --git a/services/surfaces/display_factory_impl.h b/services/surfaces/display_factory_impl.h
deleted file mode 100644
index 745b9f0b6bc6e9d6ef769c520d7f4f681e4ec80f..0000000000000000000000000000000000000000
--- a/services/surfaces/display_factory_impl.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2015 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_SURFACES_DISPLAY_FACTORY_IMPL_H_
-#define SERVICES_SURFACES_DISPLAY_FACTORY_IMPL_H_
-
-#include "mojo/public/cpp/bindings/strong_binding.h"
-#include "mojo/services/surfaces/interfaces/display.mojom.h"
-#include "services/surfaces/display_impl.h"
-
-namespace cc {
-class SurfaceManager;
-}
-
-namespace surfaces {
-class SurfacesScheduler;
-
-class DisplayFactoryImpl : public mojo::DisplayFactory {
- public:
- DisplayFactoryImpl(cc::SurfaceManager* manager,
- uint32_t id_namespace,
- SurfacesScheduler* scheduler,
- mojo::InterfaceRequest<mojo::DisplayFactory> request);
- ~DisplayFactoryImpl() override;
-
- private:
- // mojo::DisplayFactory implementation.
- void Create(mojo::ContextProviderPtr context_provider,
- mojo::ResourceReturnerPtr returner,
- mojo::InterfaceRequest<mojo::Display> display_request) override;
-
- // We use one ID namespace for all DisplayImpls since the ID is used only by
- // cc and not exposed through mojom.
- uint32_t id_namespace_;
- uint32_t next_local_id_;
- SurfacesScheduler* scheduler_;
- cc::SurfaceManager* manager_;
- mojo::StrongBinding<mojo::DisplayFactory> binding_;
-};
-
-} // namespace surfaces
-
-#endif // SERVICES_SURFACES_DISPLAY_FACTORY_IMPL_H_
« no previous file with comments | « services/surfaces/context_provider_mojo.cc ('k') | services/surfaces/display_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698