| OLD | NEW |
| (Empty) |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "base/bind.h" | |
| 6 #include "base/bind_helpers.h" | |
| 7 #include "mojo/services/surfaces/cpp/surfaces_utils.h" | |
| 8 #include "mojo/services/surfaces/interfaces/quads.mojom.h" | |
| 9 #include "mojo/services/surfaces/interfaces/surfaces.mojom.h" | |
| 10 #include "services/ui/view_manager/surface_manager.h" | |
| 11 | |
| 12 namespace view_manager { | |
| 13 | |
| 14 SurfaceManager::SurfaceManager(mojo::SurfacePtr surfaces) | |
| 15 : surfaces_(surfaces.Pass()), surface_namespace_(0u) {} | |
| 16 | |
| 17 SurfaceManager::~SurfaceManager() {} | |
| 18 | |
| 19 mojo::SurfaceIdPtr SurfaceManager::CreateWrappedSurface( | |
| 20 mojo::SurfaceId* inner_surface_id) { | |
| 21 return inner_surface_id->Clone(); | |
| 22 } | |
| 23 | |
| 24 void SurfaceManager::DestroySurface(mojo::SurfaceIdPtr surface_id) { | |
| 25 // surfaces_->DestroySurface(surface_id->local); | |
| 26 } | |
| 27 | |
| 28 } // namespace view_manager | |
| OLD | NEW |