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

Unified Diff: content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h

Issue 1240353002: ozone: rename to GpuMemoryBuffer(Factory|Impl)OzoneNativePixmap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address nits in comments Created 5 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
Index: content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h
diff --git a/content/common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.h b/content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h
similarity index 81%
rename from content/common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.h
rename to content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h
index 5cdce582073bcf45ffedb64bc7eec71412325311..3e84cebebc19ab3bc1f156d17808430edb766209 100644
--- a/content/common/gpu/gpu_memory_buffer_factory_ozone_native_buffer.h
+++ b/content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h
@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_COMMON_GPU_GPU_MEMORY_BUFFER_FACTORY_OZONE_NATIVE_BUFFER_H_
-#define CONTENT_COMMON_GPU_GPU_MEMORY_BUFFER_FACTORY_OZONE_NATIVE_BUFFER_H_
+#ifndef CONTENT_COMMON_GPU_GPU_MEMORY_BUFFER_FACTORY_OZONE_NATIVE_PIXMAP_H_
+#define CONTENT_COMMON_GPU_GPU_MEMORY_BUFFER_FACTORY_OZONE_NATIVE_PIXMAP_H_
#include "base/memory/ref_counted.h"
#include "content/common/gpu/gpu_memory_buffer_factory.h"
#include "gpu/command_buffer/service/image_factory.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/gpu_memory_buffer.h"
-#include "ui/ozone/gpu/gpu_memory_buffer_factory_ozone_native_buffer.h"
+#include "ui/ozone/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h"
namespace gfx {
class GLImage;
@@ -18,11 +18,11 @@ class GLImage;
namespace content {
-class GpuMemoryBufferFactoryOzoneNativeBuffer : public GpuMemoryBufferFactory,
+class GpuMemoryBufferFactoryOzoneNativePixmap : public GpuMemoryBufferFactory,
public gpu::ImageFactory {
public:
- GpuMemoryBufferFactoryOzoneNativeBuffer();
- ~GpuMemoryBufferFactoryOzoneNativeBuffer() override;
+ GpuMemoryBufferFactoryOzoneNativePixmap();
+ ~GpuMemoryBufferFactoryOzoneNativePixmap() override;
static bool IsGpuMemoryBufferConfigurationSupported(
gfx::GpuMemoryBuffer::Format format,
@@ -51,11 +51,11 @@ class GpuMemoryBufferFactoryOzoneNativeBuffer : public GpuMemoryBufferFactory,
int client_id) override;
private:
- ui::GpuMemoryBufferFactoryOzoneNativeBuffer ozone_native_buffer_factory_;
+ ui::GpuMemoryBufferFactoryOzoneNativePixmap ozone_native_pixmap_factory_;
- DISALLOW_COPY_AND_ASSIGN(GpuMemoryBufferFactoryOzoneNativeBuffer);
+ DISALLOW_COPY_AND_ASSIGN(GpuMemoryBufferFactoryOzoneNativePixmap);
};
} // namespace content
-#endif // CONTENT_COMMON_GPU_GPU_MEMORY_BUFFER_FACTORY_OZONE_NATIVE_BUFFER_H_
+#endif // CONTENT_COMMON_GPU_GPU_MEMORY_BUFFER_FACTORY_OZONE_NATIVE_PIXMAP_H_

Powered by Google App Engine
This is Rietveld 408576698