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

Unified Diff: ui/ozone/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: ui/ozone/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h
diff --git a/ui/ozone/gpu/gpu_memory_buffer_factory_ozone_native_buffer.h b/ui/ozone/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h
similarity index 82%
rename from ui/ozone/gpu/gpu_memory_buffer_factory_ozone_native_buffer.h
rename to ui/ozone/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h
index c24dbb9eb0ca7d96f3f381cbd72b33db53e46bf8..b5393a35778ed4d145b636995b190a085e496a9d 100644
--- a/ui/ozone/gpu/gpu_memory_buffer_factory_ozone_native_buffer.h
+++ b/ui/ozone/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_OZONE_GPU_GPU_MEMORY_BUFFER_FACTORY_OZONE_NATIVE_BUFFER_H_
-#define UI_OZONE_GPU_GPU_MEMORY_BUFFER_FACTORY_OZONE_NATIVE_BUFFER_H_
+#ifndef UI_OZONE_GPU_GPU_MEMORY_BUFFER_FACTORY_OZONE_NATIVE_PIXMAP_H_
+#define UI_OZONE_GPU_GPU_MEMORY_BUFFER_FACTORY_OZONE_NATIVE_PIXMAP_H_
#include <map>
@@ -22,13 +22,13 @@ class GLImage;
namespace ui {
class NativePixmap;
-class OZONE_GPU_EXPORT GpuMemoryBufferFactoryOzoneNativeBuffer {
- typedef std::map<std::pair<uint32_t, uint32_t>, scoped_refptr<NativePixmap> >
+class OZONE_GPU_EXPORT GpuMemoryBufferFactoryOzoneNativePixmap {
+ typedef std::map<std::pair<uint32_t, uint32_t>, scoped_refptr<NativePixmap>>
BufferToPixmapMap;
public:
- GpuMemoryBufferFactoryOzoneNativeBuffer();
- virtual ~GpuMemoryBufferFactoryOzoneNativeBuffer();
+ GpuMemoryBufferFactoryOzoneNativePixmap();
+ virtual ~GpuMemoryBufferFactoryOzoneNativePixmap();
// Creates a GPU memory buffer identified by |id|.
// It can be called on any thread.
@@ -64,4 +64,4 @@ class OZONE_GPU_EXPORT GpuMemoryBufferFactoryOzoneNativeBuffer {
} // namespace ui
-#endif // UI_OZONE_GPU_GPU_MEMORY_BUFFER_FACTORY_OZONE_NATIVE_BUFFER_H_
+#endif // UI_OZONE_GPU_GPU_MEMORY_BUFFER_FACTORY_OZONE_NATIVE_PIXMAP_H_

Powered by Google App Engine
This is Rietveld 408576698