Index: components/display_compositor/buffer_queue.h |
diff --git a/content/browser/compositor/buffer_queue.h b/components/display_compositor/buffer_queue.h |
similarity index 90% |
rename from content/browser/compositor/buffer_queue.h |
rename to components/display_compositor/buffer_queue.h |
index 772501c52a508f1d98aedb71ad19bc24792b5a6c..3672582c57679d0dd3f325ca608cf99d76440bc1 100644 |
--- a/content/browser/compositor/buffer_queue.h |
+++ b/components/display_compositor/buffer_queue.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 CONTENT_BROWSER_COMPOSITOR_BUFFER_QUEUE_H_ |
-#define CONTENT_BROWSER_COMPOSITOR_BUFFER_QUEUE_H_ |
+#ifndef COMPONENTS_DISPLAY_COMPOSITOR_BUFFER_QUEUE_H_ |
+#define COMPONENTS_DISPLAY_COMPOSITOR_BUFFER_QUEUE_H_ |
#include <stddef.h> |
@@ -13,7 +13,7 @@ |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
-#include "content/common/content_export.h" |
+#include "components/display_compositor/display_compositor_export.h" |
#include "ui/gfx/geometry/rect.h" |
#include "ui/gfx/geometry/size.h" |
@@ -29,7 +29,7 @@ namespace gpu { |
class GpuMemoryBufferManager; |
} |
-namespace content { |
+namespace display_compositor { |
class GLHelper; |
@@ -37,7 +37,7 @@ class GLHelper; |
// created using CHROMIUM_gpu_memory_buffer_image. Double/triple buffering is |
// implemented internally. Doublebuffering occurs if PageFlipComplete is called |
// before the next BindFramebuffer call, otherwise it creates extra buffers. |
-class CONTENT_EXPORT BufferQueue { |
+class DISPLAY_COMPOSITOR_EXPORT BufferQueue { |
public: |
BufferQueue(scoped_refptr<cc::ContextProvider> context_provider, |
unsigned int texture_target, |
@@ -65,7 +65,7 @@ class CONTENT_EXPORT BufferQueue { |
friend class BufferQueueTest; |
friend class AllocatedSurface; |
- struct CONTENT_EXPORT AllocatedSurface { |
+ struct DISPLAY_COMPOSITOR_EXPORT AllocatedSurface { |
AllocatedSurface(BufferQueue* buffer_queue, |
std::unique_ptr<gfx::GpuMemoryBuffer> buffer, |
unsigned int texture, |
@@ -121,6 +121,6 @@ class CONTENT_EXPORT BufferQueue { |
DISALLOW_COPY_AND_ASSIGN(BufferQueue); |
}; |
-} // namespace content |
+} // namespace display_compositor |
-#endif // CONTENT_BROWSER_COMPOSITOR_BUFFER_QUEUE_H_ |
+#endif // COMPONENTS_DISPLAY_COMPOSITOR_BUFFER_QUEUE_H_ |