summaryrefslogtreecommitdiffstats
path: root/mojo/services/surfaces/display_factory_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'mojo/services/surfaces/display_factory_impl.h')
-rw-r--r--mojo/services/surfaces/display_factory_impl.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/mojo/services/surfaces/display_factory_impl.h b/mojo/services/surfaces/display_factory_impl.h
deleted file mode 100644
index 7a21c43..0000000
--- a/mojo/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/display_impl.h"
-#include "third_party/mojo_services/src/surfaces/public/interfaces/display.mojom.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_