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

Unified Diff: services/ui/surfaces/ozone_gpu_memory_buffer_manager.h

Issue 2194893002: services/ui: Revert CLs that broke Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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/ui/surfaces/display_compositor.cc ('k') | services/ui/surfaces/ozone_gpu_memory_buffer_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/surfaces/ozone_gpu_memory_buffer_manager.h
diff --git a/blimp/client/feature/compositor/blimp_gpu_memory_buffer_manager.h b/services/ui/surfaces/ozone_gpu_memory_buffer_manager.h
similarity index 61%
copy from blimp/client/feature/compositor/blimp_gpu_memory_buffer_manager.h
copy to services/ui/surfaces/ozone_gpu_memory_buffer_manager.h
index c68c55d01e8a8de17e814ed5853e87f7842f07b3..3b4da51944314db2339ffbcbc1b95e2361a8be69 100644
--- a/blimp/client/feature/compositor/blimp_gpu_memory_buffer_manager.h
+++ b/services/ui/surfaces/ozone_gpu_memory_buffer_manager.h
@@ -2,23 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_GPU_MEMORY_BUFFER_MANAGER_H_
-#define BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_GPU_MEMORY_BUFFER_MANAGER_H_
-
-#include <memory>
+#ifndef COMPONENTS_MUS_SURFACES_DIRECT_OUTPUT_SURFACES_OZONE_H_
+#define COMPONENTS_MUS_SURFACES_DIRECT_OUTPUT_SURFACES_OZONE_H_
#include "base/macros.h"
#include "gpu/command_buffer/client/gpu_memory_buffer_manager.h"
-namespace blimp {
-namespace client {
+namespace ui {
-class BlimpGpuMemoryBufferManager : public gpu::GpuMemoryBufferManager {
+class OzoneGpuMemoryBufferManager : public gpu::GpuMemoryBufferManager {
public:
- BlimpGpuMemoryBufferManager();
- ~BlimpGpuMemoryBufferManager() override;
+ OzoneGpuMemoryBufferManager();
+ ~OzoneGpuMemoryBufferManager() override;
- // Overridden from gpu::GpuMemoryBufferManager:
+ // gpu::GpuMemoryBufferManager:
std::unique_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer(
const gfx::Size& size,
gfx::BufferFormat format,
@@ -34,10 +31,9 @@ class BlimpGpuMemoryBufferManager : public gpu::GpuMemoryBufferManager {
const gpu::SyncToken& sync_token) override;
private:
- DISALLOW_COPY_AND_ASSIGN(BlimpGpuMemoryBufferManager);
+ DISALLOW_COPY_AND_ASSIGN(OzoneGpuMemoryBufferManager);
};
-} // namespace client
-} // namespace blimp
+} // namespace ui
-#endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_GPU_MEMORY_BUFFER_MANAGER_H_
+#endif // COMPONENTS_MUS_SURFACES_DIRECT_OUTPUT_SURFACES_OZONE_H_
« no previous file with comments | « services/ui/surfaces/display_compositor.cc ('k') | services/ui/surfaces/ozone_gpu_memory_buffer_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698