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

Unified Diff: services/surfaces/surfaces_service_impl.h

Issue 882083003: Remove mojo.SurfacesService interface in favor of mojo.Surface directly (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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/surfaces_service_application.cc ('k') | services/surfaces/surfaces_service_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/surfaces/surfaces_service_impl.h
diff --git a/services/surfaces/surfaces_service_impl.h b/services/surfaces/surfaces_service_impl.h
deleted file mode 100644
index f2d193dd8f3ae96eaea74c52dd5f1943e2898dc6..0000000000000000000000000000000000000000
--- a/services/surfaces/surfaces_service_impl.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright 2014 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_SURFACES_SERVICE_IMPL_H_
-#define SERVICES_SURFACES_SURFACES_SERVICE_IMPL_H_
-
-#include "base/macros.h"
-#include "mojo/public/cpp/bindings/strong_binding.h"
-#include "mojo/services/surfaces/public/interfaces/surfaces_service.mojom.h"
-#include "services/surfaces/surfaces_impl.h"
-
-namespace cc {
-class SurfaceManager;
-}
-
-namespace surfaces {
-
-class SurfacesServiceImpl : public mojo::SurfacesService {
- public:
- // The instances pointed to by |manager|, |next_id_namespace| and |client| are
- // owned by the caller and must outlive the SurfacesServiceImpl instance.
- SurfacesServiceImpl(cc::SurfaceManager* manager,
- uint32_t* next_id_namespace,
- SurfacesImpl::Client* client,
- mojo::InterfaceRequest<mojo::SurfacesService> request);
-
- ~SurfacesServiceImpl() override;
-
- // SurfacesService implementation.
- void CreateSurfaceConnection(
- const mojo::Callback<void(mojo::SurfacePtr, uint32_t)>& callback)
- override;
-
- private:
- cc::SurfaceManager* manager_;
- uint32_t* next_id_namespace_;
- SurfacesImpl::Client* client_;
- mojo::StrongBinding<SurfacesService> binding_;
-
- DISALLOW_COPY_AND_ASSIGN(SurfacesServiceImpl);
-};
-
-} // namespace surfaces
-
-#endif // SERVICES_SURFACES_SURFACES_SERVICE_IMPL_H_
« no previous file with comments | « services/surfaces/surfaces_service_application.cc ('k') | services/surfaces/surfaces_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698