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

Unified Diff: services/ui/view_manager/surface_manager.h

Issue 1552043002: Make Mozart view manager use the new compositor. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-12
Patch Set: Created 4 years, 12 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: services/ui/view_manager/surface_manager.h
diff --git a/services/ui/view_manager/surface_manager.h b/services/ui/view_manager/surface_manager.h
deleted file mode 100644
index d5d20680ea9565fac9c1b039147b3421673e856e..0000000000000000000000000000000000000000
--- a/services/ui/view_manager/surface_manager.h
+++ /dev/null
@@ -1,34 +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_UI_VIEW_MANAGER_SURFACE_MANAGER_H_
-#define SERVICES_UI_VIEW_MANAGER_SURFACE_MANAGER_H_
-
-#include "base/macros.h"
-#include "mojo/services/surfaces/interfaces/surfaces.mojom.h"
-
-namespace view_manager {
-
-// Manages surfaces on behalf of the view manager.
-class SurfaceManager {
- public:
- explicit SurfaceManager(mojo::SurfacePtr surfaces);
- ~SurfaceManager();
-
- mojo::SurfaceIdPtr CreateWrappedSurface(mojo::SurfaceId* inner_surface_id);
-
- void DestroySurface(mojo::SurfaceIdPtr surface_id);
-
- private:
- void OnSurfaceIdNamespaceAvailable(uint32_t id_namespace);
-
- mojo::SurfacePtr surfaces_;
- uint32_t surface_namespace_;
-
- DISALLOW_COPY_AND_ASSIGN(SurfaceManager);
-};
-
-} // namespace view_manager
-
-#endif // SERVICES_UI_VIEW_MANAGER_SURFACE_MANAGER_H_

Powered by Google App Engine
This is Rietveld 408576698